Hello zfs-discuss, I''ve got many ydisks in a JBOD (>100) and while doing tests there are lot of destroyed pools. Then some disks are re-used to be part of new pools. Now if I do zpool import -D I can see lot of destroyed pool in a state that I can''t import them anyway (like only two disks left from a previously much larger raid-z group, etc.). It''s getting messy. It would be nice to have an command to ''clear'' such disks - remove ZFS signatures so nothing will show up for those disks. What do you think? -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com
Hi Robert, Maybe this RFE would contribute to alleviate your problem: 6417135 need generic way to dissociate disk or slice from it''s filesystem http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6417135 -r Robert Milkowski writes: > Hello zfs-discuss, > > I''ve got many ydisks in a JBOD (>100) and while doing tests there > are lot of destroyed pools. Then some disks are re-used to be part > of new pools. Now if I do zpool import -D I can see lot of destroyed > pool in a state that I can''t import them anyway (like only two disks > left from a previously much larger raid-z group, etc.). It''s getting > messy. > > It would be nice to have an command to ''clear'' such disks - remove > ZFS signatures so nothing will show up for those disks. > > What do you think? > > -- > Best regards, > Robert mailto:rmilkowski at task.gda.pl > http://milek.blogspot.com > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Robert Milkowski wrote:>Hello zfs-discuss, > > I''ve got many ydisks in a JBOD (>100) and while doing tests there > are lot of destroyed pools. Then some disks are re-used to be part > of new pools. Now if I do zpool import -D I can see lot of destroyed > pool in a state that I can''t import them anyway (like only two disks > left from a previously much larger raid-z group, etc.). It''s getting > messy. > > It would be nice to have an command to ''clear'' such disks - remove > ZFS signatures so nothing will show up for those disks. > > What do you think? > > >That could be nice, though a way of doing that now is overwriting the labels by using dd (assuming you can overwrite all the devices from the now-defunct destroyed pool). eric
Hello Roch, Monday, August 21, 2006, 12:07:02 PM, you wrote: R> Hi Robert, Maybe this RFE would contribute to alleviate your R> problem: R> 6417135 need generic way to dissociate disk or slice from it''s filesystem R> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6417135 Yeah, something like this. However format(1M) isn''t ideal choice. In my case with many disks it still would be quicker to use dd but I do not like it. Something like zpool purge -D old_destroyed_pool would be nicer. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com