Re: [zfs-discuss] How do I Import rpool to an alternate location?
On 08/16/10 10:38 PM, George Wilson wrote: Robert Hartzell wrote: On 08/16/10 07:47 PM, George Wilson wrote: The root filesystem on the root pool is set to 'canmount=noauto' so you need to manually mount it first using 'zfs mount '. Then run 'zfs mount -a'. - George mounting the dataset failed because the /mnt dir was not empty and "zfs mount -a" failed I guess because the first command failed. It's possible that as part of the initial import that one of the mount points tried to create a directory under /mnt. You should first unmount everything associated with that pool, then ensure that /mnt is empty and mount the root filesystem first. Don't mount anything else until the root is mounted. - George Awesome! That worked... just recovered 100GB of data! Thanks for the help -- Robert Hartzell b...@rwhartzell.net RwHartzell.Net ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do I Import rpool to an alternate location?
Robert Hartzell wrote: On 08/16/10 07:47 PM, George Wilson wrote: The root filesystem on the root pool is set to 'canmount=noauto' so you need to manually mount it first using 'zfs mount '. Then run 'zfs mount -a'. - George mounting the dataset failed because the /mnt dir was not empty and "zfs mount -a" failed I guess because the first command failed. It's possible that as part of the initial import that one of the mount points tried to create a directory under /mnt. You should first unmount everything associated with that pool, then ensure that /mnt is empty and mount the root filesystem first. Don't mount anything else until the root is mounted. - George ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do I Import rpool to an alternate location?
On 08/16/10 07:47 PM, George Wilson wrote: The root filesystem on the root pool is set to 'canmount=noauto' so you need to manually mount it first using 'zfs mount '. Then run 'zfs mount -a'. - George mounting the dataset failed because the /mnt dir was not empty and "zfs mount -a" failed I guess because the first command failed. -- Robert Hartzell b...@rwhartzell.net RwHartzell.Net ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do I Import rpool to an alternate location?
On 08/16/10 07:39 PM, Mark Musante wrote: On 16 Aug 2010, at 22:30, Robert Hartzell wrote: cd /mnt ; ls bertha export var ls bertha boot etc where is the rest of the file systems and data? By default, root filesystems are not mounted. Try doing a "zfs mount bertha/ROOT/snv_134" This didn't work,,, pfexec zfs mount bertha/ROOT/snv_134 cannot mount '/mnt': directory is not empty do I need set the mount point to a different location? -- Robert Hartzell b...@rwhartzell.net RwHartzell.Net ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do I Import rpool to an alternate location?
The root filesystem on the root pool is set to 'canmount=noauto' so you need to manually mount it first using 'zfs mount '. Then run 'zfs mount -a'. - George On 08/16/10 07:30 PM, Robert Hartzell wrote: I have a disk which is 1/2 of a boot disk mirror from a failed system that I would like to extract some data from. So i install the disk to a test system and do: zpool import -R /mnt -f rpool bertha which gives me: bertha102G 126G84K /mnt/bertha bertha/ROOT 34.3G 126G19K legacy bertha/ROOT/snv_134 34.3G 126G 10.9G /mnt bertha/Vbox 46.9G 126G 46.9G /mnt/export/Vbox bertha/dump 2.00G 126G 2.00G - bertha/export8.05G 126G31K /mnt/export bertha/export/home 8.05G 52.0G 8.01G /mnt/export/home bertha/mail 1.54M 5.00G 1.16M /mnt/var/mail bertha/swap 4G 130G 181M - bertha/zones 6.86G 126G24K /mnt/export/zones bertha/zones/bz1 6.05G 126G24K /mnt/export/zones/bz1 bertha/zones/bz1/ROOT6.05G 126G21K legacy bertha/zones/bz1/ROOT/zbe6.05G 126G 6.05G legacy bertha/zones/bz2 821M 126G24K /mnt/export/zones/bz2 bertha/zones/bz2/ROOT 821M 126G21K legacy bertha/zones/bz2/ROOT/zbe 821M 126G 821M legacy cd /mnt ; ls bertha export var ls bertha boot etc where is the rest of the file systems and data? ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do I Import rpool to an alternate location?
On 16 Aug 2010, at 22:30, Robert Hartzell wrote: > > cd /mnt ; ls > bertha export var > ls bertha > boot etc > > where is the rest of the file systems and data? By default, root filesystems are not mounted. Try doing a "zfs mount bertha/ROOT/snv_134"___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] How do I Import rpool to an alternate location?
I have a disk which is 1/2 of a boot disk mirror from a failed system that I would like to extract some data from. So i install the disk to a test system and do: zpool import -R /mnt -f rpool bertha which gives me: bertha102G 126G84K /mnt/bertha bertha/ROOT 34.3G 126G19K legacy bertha/ROOT/snv_134 34.3G 126G 10.9G /mnt bertha/Vbox 46.9G 126G 46.9G /mnt/export/Vbox bertha/dump 2.00G 126G 2.00G - bertha/export8.05G 126G31K /mnt/export bertha/export/home 8.05G 52.0G 8.01G /mnt/export/home bertha/mail 1.54M 5.00G 1.16M /mnt/var/mail bertha/swap 4G 130G 181M - bertha/zones 6.86G 126G24K /mnt/export/zones bertha/zones/bz1 6.05G 126G24K /mnt/export/zones/bz1 bertha/zones/bz1/ROOT6.05G 126G21K legacy bertha/zones/bz1/ROOT/zbe6.05G 126G 6.05G legacy bertha/zones/bz2 821M 126G24K /mnt/export/zones/bz2 bertha/zones/bz2/ROOT 821M 126G21K legacy bertha/zones/bz2/ROOT/zbe 821M 126G 821M legacy cd /mnt ; ls bertha export var ls bertha boot etc where is the rest of the file systems and data? -- Robert Hartzell b...@rwhartzell.net RwHartzell.Net ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss