File system missing after reboot
-
- OMV 5.x
- musharaf
-
-
Did you create and mount file systems from the GUI?
-
yes
-
Run on a terminal sudo partprobe /dev/sdb && sudo partprobe /dev/sdc
After that sudo mount -a
See if it will show the filesystems.
-
can i do this with schedule jobs, as the system is in loft
-
This is just to make your filesystems show up, if all is well.
It's a temporary solution.
But it probably will happen again after a reboot.
Are those drives on a USB connection?!?
-
I tired above on the scheduled job as root, nothing happen, no those drives are not on a USB connection
-
if I delete and create new it shows up, but when reboot the system it shows missing. i do not have any data at the moment, but my worry is once I start putting data and have to restart due to any reason will loose data
-
What is the output of lsblk?
-
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 103.8G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 8G 0 part [SWAP]
sdb 8:16 0 1.8T 0 disk
sdc 8:32 0 1.8T 0 disk
sdd 8:48 0 3.7T 0 disk
└─sdd1 8:49 0 3.7T 0 part /srv/dev-disk-by-uuid-ac4b1b25-50d1-44be-ae2a-c1a23abb7b40
sde 8:64 0 3.7T 0 disk
└─sde1 8:65 0 3.7T 0 part /srv/dev-disk-by-uuid-5ffc79ba-ed86-41ee-b978-76b1f882aca3
-
sdb 8:16 0 1.8T 0 disk
sdc 8:32 0 1.8T 0 disk
These are the disks that are missing the partitions.
Are they in any RAID or something fancy?
If not, just run the commands I told above:
sudo partprobe /dev/sdb
sudo partprobe /dev/sdc
lsblk <<--- It should show the partitions available
sudo mount -a <<--- This should mount all that is missing. If it doesn't work, then you must give more info:
cat /etc/fstab
-
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 103.8G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 8G 0 part [SWAP]
sdb 8:16 0 1.8T 0 disk
sdc 8:32 0 1.8T 0 disk
sdd 8:48 0 3.7T 0 disk
└─sdd1 8:49 0 3.7T 0 part /srv/dev-disk-by-uuid-ac4b1b25-50d1-44be-ae2a-c1a23abb7b40
sde 8:64 0 3.7T 0 disk
└─sde1 8:65 0 3.7T 0 part /srv/dev-disk-by-uuid-5ffc79ba-ed86-41ee-b978-76b1f882aca3
still same
-
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=c5304f9a-585e-4ac3-b116-db34ee36870b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0f60280d-98ba-45ef-a683-e7483f444209 none swap sw 0 0
# >>> [openmediavault]
/dev/disk/by-uuid/ac4b1b25-50d1-44be-ae2a-c1a23abb7b40 /srv/dev-disk-by-uuid-ac4b1b25-50d1-44be-ae2a-c1a23abb7b40 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/89ec7095-f6a7-4c30-89f6-5e3792d02f28 /srv/dev-disk-by-uuid-89ec7095-f6a7-4c30-89f6-5e3792d02f28 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/5ffc79ba-ed86-41ee-b978-76b1f882aca3 /srv/dev-disk-by-uuid-5ffc79ba-ed86-41ee-b978-76b1f882aca3 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/623c7a37-0c2c-4551-a1c9-b772583bd8eb /srv/dev-disk-by-uuid-623c7a37-0c2c-4551-a1c9-b772583bd8eb ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
-
There is no RAID. I done the new installation, created file system and mounted them only.
-
used cammand: partprobe /dev/sdc -s
show
/dev/sdc: msdos partitions -
resutl from command partprobe -s
/dev/sda: msdos partitions 1 2 <5>
/dev/sdb: msdos partitions
/dev/sdc: msdos partitions
/dev/sdd: gpt partitions 1
/dev/sde: gpt partitions 1
-
/dev/disk/by-uuid/89ec7095-f6a7-4c30-89f6-5e3792d02f28
/dev/disk/by-uuid/623c7a37-0c2c-4551-a1c9-b772583bd8eb
If the partprobe command doesn't make it show the partitions, maybe you can try a reboot.
FYI, when you run that command, it shows no output.
Maybe, try to run sudo fdisk -l /dev/sdb
sudo fdisk -l /dev/sdc to see if the partitions are mentioned there.
You said you created the filesystems in OMV Gui.
I'm a bit at lost since I always do it on the terminal before installing OMV.
If you don't have anything in those drives, can you recreate it again?
-
/dev/sdb: msdos partitions
/dev/sdc: msdos partitions
This only means that the drive was created with MBR(<2Tb) instead of GPT(>2Tb)
-
yes when i run the command it show shows no output
I installed the omv and then inserted the disks and created file system.
output from sudo fdisk -l /dev/sdb
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20EARX-00P
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
output from sudo fdisk -l /dev/sdc
Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20EARX-00P
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
-
I am going to delete and create again. Will let you know after creating and restarting system.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!