Reload the mechanical hard drive with ZFS filesystem in a new PVE?

proxmoxajin

Active Member
Apr 2, 2020
35
0
26
24
A PVE host has previously deployed a zfs file system, and a 2T WD mechanical hard drive contains some important files. After the host reinstalled the PVE system, I tried to reload the mechanical hard drive, but failed.I want to mount the sdb disk in pve and access the files in it
How to deal with it? Thanks.
Some information is as follows, please help analyze and provide suggestions:

Bash:
root@p2:~# zpool status
  pool: zfsP2raid0
 state: ONLINE
config:

        NAME        STATE     READ WRITE CKSUM
        zfsP2raid0  ONLINE       0     0     0
          sdc       ONLINE       0     0     0
          sdd       ONLINE       0     0     0
          sde       ONLINE       0     0     0
          sdf       ONLINE       0     0     0

errors: No known data errors
root@p2:~#
root@p2:~#
root@p2:~# zpool list
NAME         SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zfsP2raid0  3.72T  20.7G  3.70T        -         -     0%     0%  1.00x    ONLINE  -
root@p2:~#
root@p2:~#
root@p2:~# zpool import
no pools available to import
root@p2:~#
root@p2:~#
root@p2:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda            8:0    0 119.2G  0 disk
├─sda1         8:1    0 119.2G  0 part
└─sda9         8:9    0     8M  0 part
sdb            8:16   0 931.5G  0 disk
├─sdb1         8:17   0 931.5G  0 part
└─sdb9         8:25   0     8M  0 part
sdc            8:32   0 953.9G  0 disk
├─sdc1         8:33   0 953.9G  0 part
└─sdc9         8:41   0     8M  0 part
sdd            8:48   0 953.9G  0 disk
├─sdd1         8:49   0 953.9G  0 part
└─sdd9         8:57   0     8M  0 part
sde            8:64   0 953.9G  0 disk
├─sde1         8:65   0 953.9G  0 part
└─sde9         8:73   0     8M  0 part
sdf            8:80   0 953.9G  0 disk
├─sdf1         8:81   0 953.9G  0 part
└─sdf9         8:89   0     8M  0 part
sdg            8:96   1  57.3G  0 disk
├─sdg1         8:97   1  1007K  0 part
├─sdg2         8:98   1   512M  0 part /boot/efi
└─sdg3         8:99   1  56.8G  0 part
  ├─pve-swap 253:0    0     7G  0 lvm  [SWAP]
  └─pve-root 253:1    0  49.8G  0 lvm  /
root@p2:~#
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!