How to mount data drive: LVM or Autofs?
How to mount data drive: LVM or Autofs?
I'm not great with this topic, so the question may seem odd. I just installed V6 over V5.6. The install process found the data drive, but did not mount it (perhaps it couldn't). I read a great deal, but I'm confused if I need to have the drive automounted by lvm? or by placing something in the /etc/autofs file?
Re: How to mount data drive: LVM or Autofs?
Just add your data partition to your /etc/fstab
It should be looking similar to this:
[code]/dev/myvolumegroup1/myvolume1 /data ext3 defaults 0 1[/code]
It should be looking similar to this:
[code]/dev/myvolumegroup1/myvolume1 /data ext3 defaults 0 1[/code]
Re: How to mount data drive: LVM or Autofs?
[quote]
SKull wrote:
Just add your data partition to your /etc/fstab
It should be looking similar to this:
[code]/dev/myvolumegroup1/myvolume1 /data ext3 defaults 0 1[/code][/quote]
uhm... Will it be "sdb for the whole drive? or sdb1?
mount /dev/sdb /X2050GB ext3 defaults 0 1
Is that going to cause an auto mount? (Hopefully)
SKull wrote:
Just add your data partition to your /etc/fstab
It should be looking similar to this:
[code]/dev/myvolumegroup1/myvolume1 /data ext3 defaults 0 1[/code][/quote]
uhm... Will it be "sdb for the whole drive? or sdb1?
mount /dev/sdb /X2050GB ext3 defaults 0 1
Is that going to cause an auto mount? (Hopefully)
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
How to mount data drive: LVM or Autofs?
[quote]
uhm... Will it be "sdb for the whole drive? or sdb1?
mount /dev/sdb /X2050GB ext3 defaults 0 1
Is that going to cause an auto mount? (Hopefully)
[/quote]
Please post the output produced by --
[code]
[b]fdisk -l[/b]
[/code]
We may then have sufficient information to assist you.
uhm... Will it be "sdb for the whole drive? or sdb1?
mount /dev/sdb /X2050GB ext3 defaults 0 1
Is that going to cause an auto mount? (Hopefully)
[/quote]
Please post the output produced by --
[code]
[b]fdisk -l[/b]
[/code]
We may then have sufficient information to assist you.
Re: How to mount data drive: LVM or Autofs?
its more likely to be sdb1
sdb is the whole device, and you can only mount partitions with filesystems , and not whole devices.
Just test it, doin' it wrong will result in an error, but you cannot break something with it.
(at least i hope so :-D )
to mount everything in your fstab without rebooting just type "mount -a"
sdb is the whole device, and you can only mount partitions with filesystems , and not whole devices.
Just test it, doin' it wrong will result in an error, but you cannot break something with it.
(at least i hope so :-D )
to mount everything in your fstab without rebooting just type "mount -a"