[Fixed] Can not import old array, disks are marked as unusable

Hello there, i am using rockstor on a HP N40L as a secondary NAS. I started a few versions ago (3.6, 3.7?) around the end of last year. But i had a few issues and updating to the newest version threw some errors, so i made a new install with the intension to import my array afterwards. The array consists of 6 disks a 4TB, formatted with BTRFS under rockstor.

So now i am on version 3.8-12 and try to import the array via the GUI. But every disk is marked as “unusable because it has some other filesystem on it.” I then tried to mount a disk per CLI with “mount /dev/sdx /mnt/pool” but with no success.

Please help me with this issue. Should i try it again with an older version, maybe a whole other OS?
Thanks in advance.

Is there no import button next each of those disks in the UI’s Storage -> Disks screen?

What does the output of btrfs fi show look like?

There is no import button next to them, as shown here:

And btrfs fi show gives me this:

I tried a few things that were suggested to me:
parted -l gets the following:

[root@bulwark2 ~]# parted -l
Model: ATA TOSHIBA MD04ACA4 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: ATA TOSHIBA MD04ACA4 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: ATA TOSHIBA MD04ACA4 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: ATA TOSHIBA MD04ACA4 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: ATA WDC WD40EZRX-00S (scsi)
Disk /dev/sde: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: ATA ST4000DM000-1F21 (scsi)
Disk /dev/sdf: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB

Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdg: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 2098MB 1573MB primary linux-swap(v1)
3 2098MB 15.7GB 13.6GB primary btrfs

Another suggestion was sudo mount -t btrfs -o ro,recovery,degraded /dev/sda /mnt/pool
Which gives:

[root@bulwark2 ~]# sudo mount -t btrfs -o ro,recovery,degraded /dev/sda /mnt/pool
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

I’ve got it sorted out, with the help of a helpful person on reddit: Here’s the thread

1 Like

Really nice thread on reddit. I’ve added my comment there. Does your Pool now show up in the UI? What about the Shares and Snapshots in it?

After mounting the drives they are accessible via SSH, but nothing changed in the UI.
In the disks section, nothing changed and the pool doesn’t appear either. Also not possible to create another pool.
Would it be possible to just create a samba share manually to at least gewt access to the files?