Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-12 Thread Cindy Swearingen
Hi Dan, I'm not sure I'm following everything here but I will try: 1. How do you offline a zvol? Can you show your syntax? You can only offline a redundant pool component, such as a file, slice, or whole disk. 2. What component does black represent? Only a pool can be exported. 3. In

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-12 Thread Cindy Swearingen
Dan, I see now how you might have created this config. I tried to reproduce this issue by creating a separate pool on another disk and a volume to attach to my root pool, but my system panics when I try to attach the volume to the root pool. This is on Nevada, build 130. Panic aside, we don't

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-12 Thread Daniel Carosone
On Tue, Jan 12, 2010 at 01:26:15PM -0700, Cindy Swearingen wrote: I see now how you might have created this config. I tried to reproduce this issue by creating a separate pool on another disk and a volume to attach to my root pool, but my system panics when I try to attach the volume to the

[zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Daniel Carosone
I have a netbook with a small internal ssd as rpool. I have an external usb HDD with much larger storage, as a separate pool, which is sometimes attached to the netbook. I created a zvol on the external pool, the same size as the internal ssd, and attached it as a mirror to rpool for backup. I

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Daniel Carosone
I should have mentioned: - opensolaris b130 - of course I could use partitions on the usb disk, but that's so much less flexible. -- Dan. pgp5A8rwHnenC.pgp Description: PGP signature ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Ian Collins
Daniel Carosone wrote: However, with the rpool mirror in place, I can't find a way to zpool export black. It complains that the poool is busy, because of the zvol in use. This happens regardless of whether I have set the zvol submirror offline. I expected that, with the subdevice in the

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Daniel Carosone
On Tue, Jan 12, 2010 at 02:38:56PM +1300, Ian Collins wrote: How did you set the subdevice in the off line state? # zpool offline rpool /dev/zvol/dsk/ sorry if that wasn't clear. Did you detach the device from the mirror? No, because then: - it will have to resilver fully on next

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Richard Elling
On Jan 11, 2010, at 4:42 PM, Daniel Carosone wrote: I have a netbook with a small internal ssd as rpool. I have an external usb HDD with much larger storage, as a separate pool, which is sometimes attached to the netbook. I created a zvol on the external pool, the same size as the internal

Re: [zfs-discuss] rpool mirror on zvol, can't offline and detach

2010-01-11 Thread Daniel Carosone
On Mon, Jan 11, 2010 at 06:03:40PM -0800, Richard Elling wrote: IMHO, a split mirror is not as good as a decent backup :-) I know.. that was more by way of introduction and background. It's not the only method of backup, but since this disk does get plugged into the netbook frequently enough it