Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thank goodness there's a newbie section, I don't feel quite so embarrassed asking this question :/
I recently installed Red Hat Enterprise Linux 5 with a main 20GB HD, a secondary 80GB HD and a CD ROM installed.
My trouble is trying to find my secondary HD.
In /dev/ I have:-
hda
hda1
hda2
hdc
hdc1
hdd
I'm certain hdc1 is my extra HD as I mounted hdd and it gave me the CD Drive.
I made a directory for the extra hard drive:-
mkdir /mnt/storage
then I tried to mount it:-
mount -t auto /dev/hdc1 /mnt/storage
but get:-
mount: /dev/hdc1 already mounted or /mnt/storage busy
I then tried to unmount it in case it was mounted somewhere else:-
umount /dev/hdc1
and get:-
umount: /dev/hdc1: not mounted
That pretty much leaves me where I am, I've tried a number of other things without luck so I'm now up to asking for help for what I'm sure is probably a menial task, so I apologise for that.
If anyone can tell me how to find my mounted drive location (so I can save files to it) or in the case it's still not mounted, please tell me how to mount it without getting the errors.
A bit of extra info that may help. Here is the result from "fdisk -l"
Disk /dev/hda: 20.8 GB, 20847697920 bytes
255 heads, 63 sectors/track, 2534 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 2534 20249932+ 8e Linux LVM
Disk /dev/hdc: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 9732 78172258+ 8e Linux LVM
Thanks for your time.
Markus
Last edited by Billerwell; 03-02-2009 at 02:17 AM.
Hi, would appear HDC would be the one to go for, just to check, have you actually formatted the drive with ext3 or a different filing system? Also try a different mount point to /mnt/storage, it's possible that mount point itself is busy as another device maybe mounted to it.
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Both of these HDD are formatted as LVM. Does this not mean that they present themselves to the OS as one HDD with the OS distributed across the combined disk space as if it were on one HDD.
Are there not two levels here, the partition, showing the physical HDD, and the logical, which the OS sees. Commands issued to the two levels will give you two different classes of results. You will see hdc and hdc1 on the partition table but only the Volume Group exists when you query the OS. There is no hdc and hdc1, or rather, the HDD and partition is already there, but integrated in a form you don't recognize. Look again at your results from fdisk -l.
What do you say?
Last edited by thorkelljarl; 03-03-2009 at 01:08 PM.
Thank you very much for the info, you are spot on. Prior to today I was totally unaware of LVM or what it was, but as you've suggested both HD's have been combined to look as one and that my extra HD space has been available all along in every and any folder
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.