[ug-bosug] What is the /second_root slice? How do i get rid of it?

Moinak Ghosh Moinak.Ghosh at Sun.COM
Fri Feb 8 00:29:14 PST 2008


Manish Chakravarty wrote:
>
>
> On Feb 8, 2008 1:09 PM, Moinak Ghosh <Moinak.Ghosh at sun.com 
> <mailto:Moinak.Ghosh at sun.com>> wrote:
>
>     Manish Chakravarty wrote:
>     >
>     >
>     > On Feb 8, 2008 12:15 PM, Moinak Ghosh <Moinak.Ghosh at sun.com
>     <mailto:Moinak.Ghosh at sun.com>
>     > <mailto:Moinak.Ghosh at sun.com <mailto:Moinak.Ghosh at sun.com>>> wrote:
>     >
>     >     Moinak Ghosh wrote:
>     >     > Manish Chakravarty wrote:
>     >     >
>     >     >> [...]
>     >     >>
>     >     >> Nope! I assumed the steps you had provided were
>     non-destructive!
>     >     >>
>     >     >> I lost 3GB + of SVN checkouts and all other data!! :(
>     >     >>
>     >     >
>     >     >    Hey, you are creating a new filesystem on your disk,
>     you got
>     >     to take
>     >     >    backup.
>     >     >
>     >     >    You can still try to recover.  Try this:
>     >     >
>     >     >    zpool export export_home
>     >     >    mkdir -p /export/home
>     >     >
>     >     >    mount -F ufs /dev/dsk/c2t0d0s4 /export/home
>     >
>     >
>     > No I did not  have data on my second_root.
>     >
>     > I will try it!
>       mount -F ufs /dev/dsk/c2t0d0s7 /export/home
>
>       Note correction: 's7' instead of 's4'
>
> It worked!
> Moinak, thank you so much!

   Now take a backup and repeat the zpool/zfs creation process.
   After you have created the zpool create your home dir back
   as I mentioned earlier and extract from your backup.

   Using ZFS does speed up your disk access and builds.

Regards,
Moinak.



More information about the ug-bosug mailing list