Hi there,
I'm trying to automatically mount a disk at boot, using fstab. But for every tutorial I find, they seem to use a new string in the first column, which is the <file system> column (as far as I can figure out).
One that seems to work would be /dev/sda1 (for example), but here comes the next problem. Because commands like fdisk, lshw -class disk and fs, all gives different indications of the /dev/[hdname], so how do I know which to use? I could of course just try to reboot until it works, but at this is a rather critical server, I would prefer to minimize downtime. So I really hope you guys can help. Currently I'm using the following line in fstab:
Is this even remotely correct? And if not, what should change?
I'm trying to automatically mount a disk at boot, using fstab. But for every tutorial I find, they seem to use a new string in the first column, which is the <file system> column (as far as I can figure out).
One that seems to work would be /dev/sda1 (for example), but here comes the next problem. Because commands like fdisk, lshw -class disk and fs, all gives different indications of the /dev/[hdname], so how do I know which to use? I could of course just try to reboot until it works, but at this is a rather critical server, I would prefer to minimize downtime. So I really hope you guys can help. Currently I'm using the following line in fstab:
Code:
Data /media/Data ext4 defaults 0 0
Is this even remotely correct? And if not, what should change?