LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2005, 09:09 AM   #1
rtcary
Member
 
Registered: Dec 2004
Location: Petaluma, CA
Distribution: Centos 4 and RH 9
Posts: 83

Rep: Reputation: 15
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
 
Old 05-06-2005, 07:42 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

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

Assuming it's /mnt/somedrive

#mount /dev/hdb1 /mnt/somedrive
 
Old 05-06-2005, 11:36 PM   #3
rtcary
Member
 
Registered: Dec 2004
Location: Petaluma, CA
Distribution: Centos 4 and RH 9
Posts: 83

Original Poster
Rep: Reputation: 15
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...
 
Old 05-07-2005, 12:11 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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.
 
Old 05-07-2005, 12:29 PM   #5
rtcary
Member
 
Registered: Dec 2004
Location: Petaluma, CA
Distribution: Centos 4 and RH 9
Posts: 83

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
HAL... the circle. Peingune Linux - Newbie 10 08-16-2005 06:01 AM
Mounting HD using HAL rtcary Linux - Newbie 1 03-14-2005 06:56 PM
HAL deamon johnnydangerous Fedora 2 02-08-2005 02:41 AM
Hal gamehack Programming 7 12-16-2004 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration