1. Backup your pool somewherecannot import 'email': pool already exists
# zpool list
# zpool get all email
# zpool satus -v email
# zpool scrub email
# zfs get all email
# zfs set canmount=noauto email
# umount -t zfs email
# zfs export email
# zpool history email
Wasn't sure if the altroot was an option or path...
From post #15The mountpoint in import needs to be folder name, not device.
Beeblebrox said:1. Backup your pool somewhere
# dd if=/dev/ad16s1g > zfsimage.dat
2 is done albeit a bit complicated since I have 2 pools named email.2. connect the HDD with the pool to the amd64 9 version you have installed
# zpool list
3. Is email listed? Does it say ONLINE or FAULTED?
# zpool list
# zpool import
pool: email
id: 10433152746165646153
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
email ONLINE
ada1s1g ONLINE
4. If online or faulted, 1st=general info 2nd=partition and zpool error info 3rd=run the repair steps.
# zpool get all email
2 is done albeit a bit complicated since I have 2 pools named email.
Apologies, but at this point, you deserve a "facepalm", buddy!cannot import 'email': pool already exists
# zpool import -f -R <folder_name> email <newname>
Yeah, I figured that out.reason there are 2 pools named email is..
# zpool import -f -o readonly=on -R /newname email newname
# zpool import
# zpool import email
# zpool import -f email
# zpool scrub -s
but I think it will be a race. As soon as the filesystem copy is done I'll take a few more cracks at it. With the filesystem dumped to a file via dd I think it will be easier to "play" with.That's why I suggested the read-only mount (or any other method which will prevent the auto-scrub from running). Then you can hopefully (maybe) copy the data off from the pool.it seems to happen as soon as the system tries to auto-scrub.
Beeblebrox said:That's why I suggested the read-only mount (or any other method which will prevent the auto-scrub from running). Then you can hopefully (maybe) copy the data off from the pool.