In <1440488473.467512.1283175986162.javamail.r...@md01.wow.synacor.com>, 
Stephen Powell wrote:
>David Baron wrote:
>> $ cat /mnt/hdb2/etc/fstab
>> # /etc/fstab: filesystem table.#
>> # filesystem  mountpoint  type  options  dump  pass
>> # ROOT/dev/sdb2  / ext3 defaults,errors=remount-ro  0  1
>> # BOOT/dev/sdb1 /boot ext3 defaults,errors=remount-ro 0 2
>> /dev/sda4  none  swap  sw  0  0
>> /dev/sdb3  none  swap  sw  0  0
>> proc  /proc  proc  defaults  0  0
>> /dev/fd0  /floppy  vfat  defaults,user,noauto,sync,exec,umask=022  0  0
>> #second master is now on /dev/hdc
>> # maintaining older mount directories for convenience
>> #changed by david baron
>> #/dev/hdb /mnt/hdc  iso9660  defaults,user,noexec,noauto,unhide  0  0
>> # Added by KNOPPIX, made auto by david (I am taking out auto for summer)
>> /dev/sda1 /mnt/hda1 vfat auto,user,exec,umask=000,uid=david,gid=david 0 0
>> # SHARED  DATA (left this way for convenience)
>> /dev/sda5 /mnt/hda6 vfat auto,user,exec,umask=000,uid=david,gid=david 0 0
>> # AUDIO was on hdb--changed to hdc, keep older directories for convenience
>> /dev/sdc5
>> /mnt/hdb5 vfat noauto,user,exec,umask=000,uid=david,gid=david 0 0
>> # Do I need such as this?
>> none            /proc/bus/usb   usbfs   defaults        0 0
>> # temporary memory for qemu, et al?
>> none /dev/shm tmpfs rw,size=512m 0 0
>> # mount win98 image to my test folder
>> /mnt/hda6/win98.img /home/david/test auto
>> noauto,loop,offset=32256,umask=022,user # mount mp3 player
>> #/dev/sda /mnt/mp3player auto defaults,user,noauto      0 0
>> #/dev/sdb /mnt/pictureframe auto defaults,user,noauto 0 0
>> # mount cell phone usb
>> #/dev/sda1 /mnt/phone auto defaults,user,noauto       0 0
>> #/dev/sdb1 /mnt/phone-sd auto defaults,user,noauto       0 0
>> #/dev/sdd1 /mnt/phone-sd auto defaults,user,noauto       0 0
>> # NEW STUFF FOR LVM/dev/DB-LVM/LV_OPT              /opt            ext3   
>> defaults        1 2 /dev/DB-LVM/LV_USR              /usr            ext3 
>>   defaults        1 2 /dev/DB-LVM/LV_VAR              /var           
>> ext3    defaults        1 2 /dev/DB-LVM/LV_HOME             /home        
>>   ext3    defaults        1 2 #/dev/DB-LVM2/LV_AUX            /mnt/aux   
>>     ext3    defaults        1 2
>
>I'm really confused.  As I've said before, I don't know anything about LVMs,
>so that may be part of the problem.

For fstab, and most other places, they are just a partition with an odd name.  
/dev/VG0/LV0 might as well be /dev/sda1 as far as most tools are concerned.

>But I don't see anything mounted as /.

That's a problem.

>I also see a bunch of stuff that is confusing.

Agreed.  Removable media should not be mounted using the kernel device name 
(e.g. /dev/sda or /dev/sdb1), since it is likely to change.  I'd likely remove 
some of the comments just to make the active lines more visible.

>And you're
>not using any uuids in /etc/fstab.

If you use LVM snapshots, you shouldn't use UUIDs for LVM volumes, since the 
UUID of the file system in the snapshot will be the same as the UUID of the 
original file system.

So, /dev/DB-LVM* entries are fine, but the rest should probably be changed to 
LABEL=* / UUID=* entries. 
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to