Previous BTRFS using GPT

I created whole disk RAID 10 using 4 HDDs with the disk type as GPT and with UEFI mode.

I noticed Rockstor installer didn’t have UEFI boot option - not sure if this is affecting anything.

I’m trying to add these devices, but they aren’t being detected:

Disk /dev/sdf: 4000.8 GB, 4000787030016 bytes, 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

I was able to mount the BTRFS device directly… not sure if I can get Rockstor to see it though.

[root@rockstor mnt]# mount /dev/sdc1 /mnt
[root@rockstor mnt]# ls /mnt
backup  media  temp  torrents
[root@rockstor mnt]# mount
/dev/sdd1 on /mnt type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)

Seems to show up since the devices were SD[C-F].

To get things running quickly I will probably just add a removable disk, copy the files, then have Rockstor create the rest.

@xantonin Welcome to the Rockstor community.

I think the issue here is that what you have there is not actually whole disk btrfs as the btrfs exists within a partition which bar the special case of the rockstor_rockstor system partition Rockstor doesn’t support, hence the no import option. It’s a bit confusing because presumably the partition covers the whole disk but that is not the meaning of ‘whole disk’ btrfs. In that case the device would be /dev/sdf (the whole disk) not /dev/sdf1 which indicates the first primary partition on a partitioned disk. Btrfs itself can handle the disk ‘raw’ prior to any partitioning and this is what Rockstor’s design has chosen as the basis for all data disks.

It looks like you are on the right track by manually mounting and copying off the data to your external drive via cli so that you can wipe these disks using the cog that appears by them (hopefully) and then re-create the btrfs raid using Rockstor’s Web-UI to ensure the result is whole disk in basis. I am assuming this was what you meant in your second post.

Hope that helps and let us know how you get on.

1 Like

Thank you, that does help and explains things. I was sure I did whole disk but I set these up a long time ago on a Debian machine. Either way I’m doing good with my external and should be able to set these up.

1 Like