CR 6574286 removing a slog doesn't work http://bugs.opensolaris.org/view_bug.do?bug_id=6574286 -- richard
Ethan Erchinger wrote: > Sorry for the first incomplete send, stupid Ctrl-Enter. :-) > ==================================== > Hello, > > I've looked quickly through the archives and haven't found mention of > this issue. I'm running SXCE (snv_99), which uses zfs version 13. I > had an existing zpool: > ------------------------------ > [EMAIL PROTECTED] ~]$ zpool status -v data > pool: data > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > data ONLINE 0 0 0 > mirror ONLINE 0 0 0 > c4t1d0p0 ONLINE 0 0 0 > c4t9d0p0 ONLINE 0 0 0 > ... > cache > c4t15d0p0 ONLINE 0 0 0 > > errors: No known data errors > > ------------------------------ > > The cache device (c4t15d0p0) is an Intel SSD. To test zil, I removed > the cache device, and added it as a log device: > ---------------------------------- > [EMAIL PROTECTED] ~]$ pfexec zpool remove data c4t15d0p0 > [EMAIL PROTECTED] ~]$ pfexec zpool add data log c4t15d0p0 > [EMAIL PROTECTED] ~]$ zpool status -v data > pool: data > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > data ONLINE 0 0 0 > mirror ONLINE 0 0 0 > c4t1d0p0 ONLINE 0 0 0 > c4t9d0p0 ONLINE 0 0 0 > ... > logs ONLINE 0 0 0 > c4t15d0p0 ONLINE 0 0 0 > > errors: No known data errors > ---------------------------------- > > The device is working fine. I then said, that was fun, time to remove > and add as cache device. But that doesn't seem possible: > ---------------------------------- > [EMAIL PROTECTED] ~]$ pfexec zpool remove data c4t15d0p0 > cannot remove c4t15d0p0: only inactive hot spares or cache devices can > be removed > ---------------------------------- > > I've also tried using detach, offline, each failing in other more > obvious ways. The manpage does say that those devices should be > removable/replaceable. At this point the only way to reclaim my SSD > device is to destroy the zpool. > > Just in-case you are wondering about versions: > ---------------------------------- > [EMAIL PROTECTED] ~]$ zpool upgrade data > This system is currently running ZFS pool version 13. > > Pool 'data' is already formatted using the current version. > [EMAIL PROTECTED] ~]$ uname -a > SunOS opensolaris 5.11 snv_99 i86pc i386 i86pc > ---------------------------------- > > Any ideas? > > Thanks, > Ethan > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss