Dear Members,
I hope someone can help me with that.
One of our servers ran out of disk space (yeah, booooh!), it was set up with zfs, one single disk (2TB). It ist part of a 5 node cluster cloud storage.
By trying to expand the storage with a new disk, I screwed up the zpool boot loader and had to reinstall the whole OS. Here I am with a pool with two disks:
My intention was to recover the files from the damaged former zroot pool by mounting the "full" disk of the old pool and copy the files into a new location.
Unfortunately I am not able to import/mount/whatever the old disk into the new zpool:
No, I don't have the "missing device" anymore.
In short:
Old system:
zroot: disk_A
Attempt to increase space with disk_B
zroot: disk_A, disk_B => not bootable anymore, reinstall
New system:
zroot: disk_C, disk_B (yes, the disk from the old system)
disk_A not mountable in any way
Thank you very much for any advice !!
I hope someone can help me with that.
One of our servers ran out of disk space (yeah, booooh!), it was set up with zfs, one single disk (2TB). It ist part of a 5 node cluster cloud storage.
By trying to expand the storage with a new disk, I screwed up the zpool boot loader and had to reinstall the whole OS. Here I am with a pool with two disks:
Code:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 1.66G 3.48T 96K /zroot
zroot/ROOT 1.05G 3.48T 96K none
zroot/ROOT/default 1.05G 3.48T 1.05G /
zroot/tmp 68.5K 3.48T 68.5K /tmp
zroot/usr 630M 3.48T 96K /usr
zroot/usr/home 96K 3.48T 96K /usr/home
zroot/usr/ports 629M 3.48T 629M /usr/ports
zroot/usr/src 96K 3.48T 96K /usr/src
zroot/var 586K 3.48T 96K /var
zroot/var/audit 96K 3.48T 96K /var/audit
zroot/var/crash 96K 3.48T 96K /var/crash
zroot/var/log 113K 3.48T 113K /var/log
zroot/var/mail 92.5K 3.48T 92.5K /var/mail
zroot/var/tmp 92.5K 3.48T 92.5K /var/tmp
My intention was to recover the files from the damaged former zroot pool by mounting the "full" disk of the old pool and copy the files into a new location.
Unfortunately I am not able to import/mount/whatever the old disk into the new zpool:
Code:
mount /dev/ada2p3 /riakData
mount: /dev/ada2p3: Invalid argument
Code:
# ls -l /dev/ada2*
crw-r----- 1 root operator 0x84 Nov 26 17:14 /dev/ada2
crw-r----- 1 root operator 0x87 Nov 26 17:14 /dev/ada2p1
crw-r----- 1 root operator 0x89 Nov 26 17:14 /dev/ada2p2
crw-r----- 1 root operator 0x8b Nov 26 17:14 /dev/ada2p3
Code:
# zpool import
pool: zroot
id: 7653252978644668067
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:
zroot UNAVAIL missing device
diskid/DISK-Z1X295YXp3 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
No, I don't have the "missing device" anymore.
In short:
Old system:
zroot: disk_A
Attempt to increase space with disk_B
zroot: disk_A, disk_B => not bootable anymore, reinstall
New system:
zroot: disk_C, disk_B (yes, the disk from the old system)
disk_A not mountable in any way
Thank you very much for any advice !!