After rebooting my machine, the pool has more disk than possible or available.
The Web-Ui shows the following:
Also interesting is the sdf drive, which was attached as an USB drive and added to rockstor but never used und is at this right moment, disconnected, but still shows up.
The CLI tells the following:
btrfs fi show
Label: ‘rockstor_rockstor’ uuid: 4c4a3b31-41e1-49fe-bb75-5655973c6db5
Total devices 1 FS bytes used 2.80GiB
devid 1 size 103.43GiB used 71.02GiB path /dev/sde3
Label: ‘p1_r1’ uuid: f7ed3e88-c3fc-404a-bc58-e1c862bbb9ec
Total devices 4 FS bytes used 4.87TiB
devid 1 size 2.73TiB used 2.73TiB path /dev/sdd
devid 2 size 2.73TiB used 2.73TiB path /dev/sdc
devid 3 size 465.76GiB used 465.76GiB path /dev/sda
devid 4 size 2.73TiB used 1.01TiB path /dev/sdb
Could this have happend after the reboot because the disks were renamed ?
I have 4 slots which I connected one after the other, and after all of them I added the usb.
the USB is now disconnected and I did a reboot?
See the Trash icon next to the disk name? It means there was a disk by that name but it no longer exists in the system(could be renamed or disconnector or dropped unexpectedly). You can just delete it by clicking on the trash icon.
It’s just cautionary on Rockstor’s part to let the user know that there was a disk by this name, but you can delete it from the database if you know it got renamed or disconnected etc…
ok it works, was little nervos because the system disk is sde3 and a complitly different device and was never unpluggend or changed the sata slot connected to.
I see this behavior occasionally on the 45Drives box here, where disk names are switched around after reboot. What’s your hardware setup/specs?
you might want to change the drive identification from /dev/sdX to /dev/disk/by-abcd/identifier, which is consistent after reboot, the naming in the webui can still be sdX as th identifier is a link to that.
That is how it already is @felixbrucker. I’ll do the wiki write up soon so users like you can suggest further improvements if possible.
@suman strange, then it must be some rockstor internals that keeps the deprecated entry inside the db even if the same identifier is in the db under a different sdX name
actually everything works, the naming on the Web-Ui is strange. It seems as @suman said using diskIDs instead of names.
On the other hand, why is the WebUi using sdx anyhow instead of the diskID? or why not using labels, as far as I know there can be labels set for any physical disk. If rockstor formats the disk, let the user choose a label and the user can also make a sticker with the label and put it on the disk itself to find it later on