Re: [zfs-discuss] Real help
hereby is my menu.lst I tried to change the zpool mountpoints but no way either menu.lst= j...@opensolaris:~# more /a/boot/grub/menu.lst splashimage /boot/grub/splash.xpm.gz background 215ECA timeout 30 default 10 #-- ADDED BY BOOTADM - DO NOT EDIT -- title OpenSolaris 2008.11 snv_101b_rc2 X86 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive #-END BOOTADM # Unknown partition of type 175 found on /dev/rdsk/c4t0d0p0 partition: 1 # It maps to the GRUB device: (hd2,0) . # Unknown partition of type 175 found on /dev/rdsk/c4t0d0p0 partition: 2 # It maps to the GRUB device: (hd2,1) . # Unknown partition of type 5 found on /dev/rdsk/c6d0p0 partition: 2 # It maps to the GRUB device: (hd0,1) . title Ubuntu root (hd0,4) kernel$ /boot/vmlinuz-2.6.27-7-generic root=UUID=8dea655b-ce58-4cf6-8097-84f6f a0d44e3 ro quiet splash initrd /boot/initrd.img-2.6.27-7-generic quite title OpenSolaris 2008.11 snv_101b_rc2 X86 text boot findroot (pool_rpool,0,a) bootfs rpool/ROOT/opensolaris kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot_archive title opensolaris-1 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris-1 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title opensolaris-2 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris-2 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title opensolaris-3 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris-3 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title opensolaris-4 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris-4 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title opensolaris-5 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/opensolaris-5 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -k module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title be_name findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/be_name kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -k module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title be_name-1 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/be_name-1 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -k module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = title OSOL_123 findroot (pool_rpool,0,a) splashimage /boot/solaris.xpm foreground d25f00 background 115d93 bootfs rpool/ROOT/OSOL_123 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -k module$ /platform/i86pc/$ISADIR/boot_archive # End of LIBBE entry = j...@opensolaris:~# and here the zfs list j...@opensolaris:~$ zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 66.2G 5.65G78K /a rpool/ROOT21.7G 5.65G18K /a/ rpool/ROOT/OSOL_123 16.9G 5.65G 10.7G /tmp/tmpd38Ilg rpool/ROOT/be_name 160M 5.65G 10.5G /a/ rpool/ROOT/be_name-1 4.23G 5.65G 10.5G /a/ rpool/ROOT/opensolaris35.4M 5.65G 5.69G / rpool/ROOT/opensolaris-1 188M 5.65G 5.05G /tmp/tmp2GKUrN rpool/ROOT/opensolaris-2 43.0M 5.65G 5.60G /tmp/tmpUbjG28 rpool/ROOT/opensolaris-3 42.8M 5.65G 5.67G /tmp/tmpKIjHhB rpool/ROOT/opensolaris-4 32.3M 5.65G 6.49G /tmp/tmp7JeXnR rpool/ROOT/opensolaris-5 87.5M 5.65G 10.4G /tmp/tmpfvpm6V rpool/dump1.50G 5.65G 1.50G - rpool/export 41.5G 5.65G21K /export rpool/export/home 41.5G 5.65G 195M /export/home/ rpool/export/home/hazz
Re: [zfs-discuss] Real help
On Wed, Sep 23, 2009 at 3:32 AM, vattini giacomo wrote: > Hi there i'v been able to restore my zpool on a live cd,reinstall the > grub,but booting from the HD it hangs for a while and than nothing comes up > j...@opensolaris:~# zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 66.2G 5.65G78K /a > rpool/ROOT21.7G 5.65G18K / > rpool/ROOT/OSOL_123 16.9G 5.65G 10.7G /tmp/tmpd38Ilg > rpool/ROOT/be_name 160M 5.65G 10.5G / > rpool/ROOT/be_name-1 4.23G 5.65G 10.5G / > rpool/ROOT/opensolaris35.4M 5.65G 5.69G / > rpool/ROOT/opensolaris-1 188M 5.65G 5.05G /tmp/tmp2GKUrN > rpool/ROOT/opensolaris-2 43.0M 5.65G 5.60G /tmp/tmpUbjG28 > rpool/ROOT/opensolaris-3 42.8M 5.65G 5.67G /tmp/tmpKIjHhB > rpool/ROOT/opensolaris-4 32.3M 5.65G 6.49G /tmp/tmp7JeXnR > rpool/ROOT/opensolaris-5 87.5M 5.65G 10.4G /tmp/tmpfvpm6V > rpool/dump1.50G 5.65G 1.50G - > rpool/export 41.5G 5.65G21K /export > rpool/export/home 41.5G 5.65G 195M /export/home/ > rpool/export/home/hazz41.3G 5.65G 41.3G /export/home/hazz/ > rpool/swap1.50G 5.86G 1.29G - > Any clue to get on the rescue? > -- > > What does the grub.conf look like now that you've re-installed grub? --Tim ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
Hi there i'v been able to restore my zpool on a live cd,reinstall the grub,but booting from the HD it hangs for a while and than nothing comes up j...@opensolaris:~# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 66.2G 5.65G78K /a rpool/ROOT21.7G 5.65G18K / rpool/ROOT/OSOL_123 16.9G 5.65G 10.7G /tmp/tmpd38Ilg rpool/ROOT/be_name 160M 5.65G 10.5G / rpool/ROOT/be_name-1 4.23G 5.65G 10.5G / rpool/ROOT/opensolaris35.4M 5.65G 5.69G / rpool/ROOT/opensolaris-1 188M 5.65G 5.05G /tmp/tmp2GKUrN rpool/ROOT/opensolaris-2 43.0M 5.65G 5.60G /tmp/tmpUbjG28 rpool/ROOT/opensolaris-3 42.8M 5.65G 5.67G /tmp/tmpKIjHhB rpool/ROOT/opensolaris-4 32.3M 5.65G 6.49G /tmp/tmp7JeXnR rpool/ROOT/opensolaris-5 87.5M 5.65G 10.4G /tmp/tmpfvpm6V rpool/dump1.50G 5.65G 1.50G - rpool/export 41.5G 5.65G21K /export rpool/export/home 41.5G 5.65G 195M /export/home/ rpool/export/home/hazz41.3G 5.65G 41.3G /export/home/hazz/ rpool/swap1.50G 5.86G 1.29G - Any clue to get on the rescue? -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On Sep 21, 2009, at 4:34 AM, David Magda wrote: On Sep 21, 2009, at 06:52, Chris Ridd wrote: Does zpool destroy prompt "are you sure" in any way? Some admin tools do (beadm destroy for example) but there's not a lot of consistency. No it doesn't, which I always found strange. Personally I always thought you should be queried for a "zfs destroy", but add a "-f" option for things like scripts. Not sure if things can be changed now. This was one of the first, great debates on ZFS-discuss http://www.opensolaris.org/jive/thread.jspa?messageID=15363㰃 I believe all possible observations are made in that thread. -- richard ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On Mon, Sep 21, 2009 at 13:34, David Magda wrote: > On Sep 21, 2009, at 06:52, Chris Ridd wrote: > >> Does zpool destroy prompt "are you sure" in any way? Some admin tools do >> (beadm destroy for example) but there's not a lot of consistency. > > No it doesn't, which I always found strange. > > Personally I always thought you should be queried for a "zfs destroy", but > add a "-f" option for things like scripts. Not sure if things can be changed > now. You can import a destroyed pool, you can find them wiht zpool import -D. But the problem in this case was not zpool destroy, it was zpool create. zpool create will overwrite whatever was on the partition. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On Sep 21, 2009, at 06:52, Chris Ridd wrote: Does zpool destroy prompt "are you sure" in any way? Some admin tools do (beadm destroy for example) but there's not a lot of consistency. No it doesn't, which I always found strange. Personally I always thought you should be queried for a "zfs destroy", but add a "-f" option for things like scripts. Not sure if things can be changed now. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On 20 Sep 2009, at 19:46, dick hoogendijk wrote: On Sun, 2009-09-20 at 11:41 -0700, vattini giacomo wrote: Hi there,i'm in a bad situation,under Ubuntu i was tring to import a solaris zpool that is in /dev/sda1,while the Ubuntu is in /dev/ sda5;not being able to mount the solaris pool i decide to destroy the pool created like that sudo zfs-fuse sudo zpool create hazz0 /dev/sda1 sudo zpool destroy hazz0 sudo reboot Now opensolaris is not booting everything is vanished Is there anyhow to restore everything? Any idea about the meaning of the verb DESTROY ? Does zpool destroy prompt "are you sure" in any way? Some admin tools do (beadm destroy for example) but there's not a lot of consistency. Cheers, Chris ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On Mon, Sep 21, 2009 at 3:41 AM, vattini giacomo wrote: > sudo zpool destroy hazz0 > sudo reboot > Now opensolaris is not booting everything is vanished ROFL This actually has to go to the daily WTF... :-) -- Kind regards, BM Things, that are stupid at the beginning, rarely ends up wisely. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
Under the Ubuntu system i've done a zpool import -D but no way -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Real help
On Sun, 2009-09-20 at 11:41 -0700, vattini giacomo wrote: > Hi there,i'm in a bad situation,under Ubuntu i was tring to import a solaris > zpool that is in /dev/sda1,while the Ubuntu is in /dev/sda5;not being able to > mount the solaris pool i decide to destroy the pool created like that > sudo zfs-fuse > sudo zpool create hazz0 /dev/sda1 > sudo zpool destroy hazz0 > sudo reboot > Now opensolaris is not booting everything is vanished > Is there anyhow to restore everything? Any idea about the meaning of the verb DESTROY ? -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS 10u7 5/09 | OpenSolaris 2010.02 b123 + All that's really worth doing is what we do for others (Lewis Carrol) ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Real help
Hi there,i'm in a bad situation,under Ubuntu i was tring to import a solaris zpool that is in /dev/sda1,while the Ubuntu is in /dev/sda5;not being able to mount the solaris pool i decide to destroy the pool created like that sudo zfs-fuse sudo zpool create hazz0 /dev/sda1 sudo zpool destroy hazz0 sudo reboot Now opensolaris is not booting everything is vanished Is there anyhow to restore everything? -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss