On Sat, Oct 11, 2008 at 03:19:49AM +0300, Marcus Sundman wrote: > I've used format's "volname" command to give labels to my drives > according to their physical location. I did quite a lot of work > labeling all my drives (I couldn't figure out which controller got > which numbers so I had to disconnect drives one by one, and they're not > hotpluggable => lot's of reboots). However, when I created a zpool of > the drives all the labels vanished!
If they were SMI labels before, then ZFS probably switched them to EFI/GPT labels, and the volname dropped out. > Since I didn't write them down > elsewhere I have to do it all over. Except that now it won't let me: > > format> volname > > Unable to get current partition map. > > Cannot label disk while its partitions are in use as described. > > format> "as described"? Did format tell you anything when you selected the disk other than "/dev/dsk/xxxxs0 is part of active ZFS pool blah..."? > I get the same error message even if the device is offline (i.e., > "zpool offline <pool> <device>"). > > Am I doing something wrong, or is format just giving me the finger for > no reason? Now that I don't know. I'm having no problems adding a volname to a ZFS disk (EFI label), even with the pool online. format> volname Enter 8-character volume name (remember quotes)[""]:foo Ready to label disk, continue? y format> -- Darren _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss