Hello Everyone,
I had a mirrored tank with 2 12TB-HDDs running out of memory.
So I decided to put my 2 free 12TB-Drives into the pool.
So I added a mirror with the 2 free drives into my tank0, but because of a read-failure with /dev/disks/by-id.... I used sdc and sdd for a "test".
After that, the drives were running and new available Space was 49% instead of 8%. so far so good.
but because of the possible change in the names of sd* every reboot, I wanted to change the inserted drives from sd* to the correct Drive-ID.
One Drive I could detach/remove, but then the striped mirrors went into a stripe of mirror and a single device
But I wanted to change the name to the ID, so I tried some further removals of the left "free" disk, but ZPOOL didn't want to detach / remove it.
Because of Proxmox has a Button to swipe disks, I decided to swipe the "free" disk (sdd) and thought I could then remove this disk.
In my opinion, there is no data on the disk, because I had not used it until now.
by the way, the 2 new disks were totally new.
I also tried to put the Disk offline and reboot the Server, but until now the tank wasn't able to get mounted anymore.
ZPOOL import says, that the Pool is unavailable, but lists the devices (the devices containing the data) as Online.
I also tried to create a new tank with only one of the data-containing mirrored disks, but that pool showed 99% free space.
I never touched the zfs command.
Do you know any possibility to get the Data from the disks?
Thank you very much for your Help
I had a mirrored tank with 2 12TB-HDDs running out of memory.
Code:
tank0 ONLINE
mirror-0 ONLINE
ata-TOSHIBA_HDWG21C_Z160A0FYFP8G ONLINE
ata-TOSHIBA_MG07ACA12TE_X1P0A0E1F95G ONLINE
So I decided to put my 2 free 12TB-Drives into the pool.
So I added a mirror with the 2 free drives into my tank0, but because of a read-failure with /dev/disks/by-id.... I used sdc and sdd for a "test".
Code:
tank0 ONLINE
mirror-0 ONLINE
ata-TOSHIBA_HDWG21C_Z160A0FYFP8G ONLINE
ata-TOSHIBA_MG07ACA12TE_X1P0A0E1F95G ONLINE
mirror-1 ONLINE
sdc ONLINE
sdd ONLINE
After that, the drives were running and new available Space was 49% instead of 8%. so far so good.
but because of the possible change in the names of sd* every reboot, I wanted to change the inserted drives from sd* to the correct Drive-ID.
One Drive I could detach/remove, but then the striped mirrors went into a stripe of mirror and a single device
Code:
tank0 ONLINE
mirror-0 ONLINE
ata-TOSHIBA_HDWG21C_Z160A0FYFP8G ONLINE
ata-TOSHIBA_MG07ACA12TE_X1P0A0E1F95G ONLINE
sdd ONLINE
Because of Proxmox has a Button to swipe disks, I decided to swipe the "free" disk (sdd) and thought I could then remove this disk.
In my opinion, there is no data on the disk, because I had not used it until now.
by the way, the 2 new disks were totally new.
I also tried to put the Disk offline and reboot the Server, but until now the tank wasn't able to get mounted anymore.
ZPOOL import says, that the Pool is unavailable, but lists the devices (the devices containing the data) as Online.
Code:
zpool import
pool: tank0
id: 12452388303661912470
state: UNAVAIL
status: One or more devices are faulted.
action: The pool cannot be imported due to damaged devices or data.
config:
tank0 UNAVAIL insufficient replicas
mirror-0 ONLINE
ata-TOSHIBA_HDWG21C_Z160A0FYFP8G ONLINE
ata-TOSHIBA_MG07ACA12TE_X1P0A0E1F95G ONLINE
ata-TOSHIBA_HDWG21C_Z160A0F8FP8G FAULTED corrupted data
Code:
zpool import tank0
cannot import 'tank0': one or more devices is currently unavailable
I also tried to create a new tank with only one of the data-containing mirrored disks, but that pool showed 99% free space.
I never touched the zfs command.
Do you know any possibility to get the Data from the disks?
Thank you very much for your Help