Re: [zfs-discuss] ZFS & ZPOOL => trash

2011-05-19 Thread Ong Yu-Phing
If you cannot even boot to single user mode on the server, boot from SXCE or openindiana, then: 1. import syspool: # zpool import syspool 2. mount affected rootfs: # mkdir /a; mount -F zfs syspool/rootfs-nmu-### /a 3. remove zpool.cache: # rm -f /a/etc/zfs/zpool.cache 4. rebuild boot archive: #

Re: [zfs-discuss] ZFS & ZPOOL => trash

2011-05-19 Thread Ong Yu-Phing
I'll add my 2 cents, since I just suffered some pretty bad pool corruption a few months ago and went through a lot of pain to get most of it restored. See http://www.opensolaris.org/jive/thread.jspa?messageID=512687 for the gory details. Steps you should take: 1) as mentioned above, delete (o

Re: [zfs-discuss] ZFS & ZPOOL => trash

2011-05-16 Thread Andrea Ciuffoli
All these zpool corrupted are the root of local zones -- 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] ZFS & ZPOOL => trash

2011-05-16 Thread Jim Klimov
Well, if this is not a root disk and the server boots at least to single-user, as you wrote above, you can try to disable auto-import of this pool. Easiest of all is to disable auto-imports of all pools by removing or renaming the file /etc/zfs/zpool.cache - it is a list of known pools for autom