LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting a HD under HAL (https://www.linuxquestions.org/questions/linux-general-1/mounting-a-hd-under-hal-320717/)

rtcary 05-06-2005 09:09 AM

Mounting a HD under HAL
 
I am not a Linux wiz, so I may be overlooking something obvious. Under the Gnome Hardware Browser, I see my 40 GB drive (hdb1), however it is not mounted - at least I believe that is the correct term since when I do

# mount

it is not listed. How do I mount hdb1 under HAL?

Todd

masonm 05-06-2005 07:42 PM

First make sure it's listed in your fstab with a mount point assigned.

Assuming it's /mnt/somedrive

#mount /dev/hdb1 /mnt/somedrive

rtcary 05-06-2005 11:36 PM

Mason -
If I create /mnt/data and type in

#mount /dev/hdb1 /mnt/data

I get a message that /dev/hdb1 is busy. Here is my /etc/fstab:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0

I do not know how to deal with HAL and the /dev/VolGroup00/LogVol01 type entries. These are foreign to me and Fedora 2 running on another box.

Thank you for your assistance...

masonm 05-07-2005 12:11 PM

I don't see /mnt/data assigned to any device in you fstab

Also I don't use that mess so not sure exactly what is what there.

rtcary 05-07-2005 12:29 PM

It appears that upon installing the new Fedora 3, I got dumped head first into Logical Volume Manager (LVM), the way Red Hat is managing file systems. After snooping around this and other forums and using Google, I have increased my understanding somewhat about Fedora 3 and it's file system management, yet in no way am I confortable with understanding what is really going on. Here is what I have found out so far:

* The file system is managed by lvm2 (Logical Volume Manager) which creates LVM entries.

* #mount displays

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0

* #fdisk -l displays

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9964 79931407+ 8e Linux LVM

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4865 39078081 8e Linux LVM


* #lvdisplay displays

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID obhKwl-oiML-P38I-2x64-jtdW-o0El-B8jMsW
LV Write Access read/write
LV Status available
# open 1
LV Size 112.91 GB
Current LE 3613
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 0VrTdl-DQIm-5qlp-gBCE-4Y4w-L9uQ-FmRS8G
LV Write Access read/write
LV Status available
# open 1
LV Size 512.00 MB
Current LE 16
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

It appears that the LV size of 112.91 GB is the combined size of the two HD's. In other words, the LVM system has combined the hard drives into one logical entry. Could this be?

Does anyone on this forum have a good understanding of the LVM system in Fedora 3?

Todd


All times are GMT -5. The time now is 06:21 PM.