Fstab question (pass pram)

when I originally setup fstab I assumed that the Pass was the partition order, but as i reread the help on fstab I think i misunderstood what it meant and Im sure that I have a mistake with /dev/sdb1 and it’s Pass pram
If i understand the pass options, 3 is not valid and I think it should also be 2 ?

# /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>
/dev/mapper/serverclanross--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=9701b326-1f63-40d7-8b26-a2c53692f4dd /boot           ext2    defaults        0       2
/dev/mapper/serverclanross--vg-swap_1 none            swap    sw              0       0
# mount raid drive
/dev/sdb1   /mnt/nas1   ext4 defaults 0  3

I assumed

Correct, 3 is not a valid parameter.

fsck will not recognize 3.

0 means skip file checks, 1 should only be used for the root file system and 2 for non-root filesystems.

In your case, change this:
/dev/sdb1 /mnt/nas1 ext4 defaults 0 3

to this:
/dev/sdb1 /mnt/nas1 ext4 defaults 0 2

Then check:
sudo mount -a

This will try and mount anything that is not already mounted. If there are errors, they will be displayed in the terminal.

If there are no errors, you can safely reboot.

rubi1200,
Thanks, I thought that it should be 2 but was not sure.
Tim

1 Like

If you have the solution, can you please indicate this. Makes it easier for others also searching this topic.
Thanks.