Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-12-2010, 12:43 PM
|
#1
|
LQ Newbie
Registered: May 2010
Posts: 15
Rep:
|
Hard Drive Icon
trying to help a friend out here. hes more of a GUI person, im more CLI..
hes running redhat enterprise, newest version.
he installed a second internal hard drive (hdc) i partitioned and mounted it at /storage, updated fstab.
now heres my question.
in the GUI, on the desktop and in the menu bar, theres a "Computer" icon/menu, and it shows his cdrom, filesystem (/) and any flash drives he has plugged into it. hes wanting to get his second hard drive to show up in there as well, similar to windows when you have more than 1 hard drive.
im scratching my head on this. the only thing i have been able to think of is a softlink, but that "Computer" section is a directory that i know of..
any help?
|
|
|
08-12-2010, 01:04 PM
|
#2
|
Member
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124
Rep:
|
Can you post the fstab listing? As I recall, if it's listed properly in fstab, it'll show up in the 'computer' folder automatically.
|
|
|
08-12-2010, 01:31 PM
|
#3
|
LQ Newbie
Registered: May 2010
Posts: 15
Original Poster
Rep:
|
not sure what he did while i was gone lol. said he did something with the logical volume manager GUI. the way he has it mounted just kinda looks weird to me...anyways heres the fstab contents
Code:
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/VolGroup00/LogVol00 / ext3 defaults 1 2
/dev/Storage/storage /storage ext3 defaults 1 2
|
|
|
08-12-2010, 04:34 PM
|
#4
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Quote:
Originally Posted by Vhal
not sure what he did while i was gone lol. said he did something with the logical volume manager GUI. the way he has it mounted just kinda looks weird to me...anyways heres the fstab contents
Code:
/dev/Storage/storage /storage ext3 defaults 1 2
|
It should be mounting as /storage if it works but /dev/Storage/storage.... how did ya (or he) get it to reference as such. Usually I'd expect something like /dev/hdc1 or LABEL=/storage ... something along those lines. Have you confirmed /dev/Storage/storage actually exists and works... and is a reference to the correct place?
Last edited by r3sistance; 08-12-2010 at 04:35 PM.
|
|
|
08-12-2010, 05:56 PM
|
#5
|
LQ Newbie
Registered: May 2010
Posts: 15
Original Poster
Rep:
|
yeah it works, im not sure what he did, i havnt had time to mess with it as im at work.
and yes i was expecting to see in fstab /dev/hdc1 /storage....weird
i was just going to mount it at /storage or /mnt/storage...
but yes it works otherwise. i will probably redo it tomorrow sometime so its cleaner and less confusing.
|
|
|
08-12-2010, 08:45 PM
|
#6
|
Member
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124
Rep:
|
Be careful modifying stuff like that. There are logical volumes involved, which add a whole layer of confusion to the matter. Logical volumes show up in the system as /dev/VOLUMENAME/LOGICAL_PARTITION, so the fstab line is perfectly valid. It cannot be changed to anything less confusing.
To be honest, I don't know a whole lot about LVM simply because I don't use it. Whenever I format for linux, I just make real partitions. But here's what happens: The hard drive is formatted with one big "real" partition. Then LVM is setup in that partition, getting the /dev/VOLUME link instead of /dev/hda1 or whatever. Within this 'logical volume partition', 'logical volumes' are created. These are partitions, but are not seen by a normal partition manager. LVM is required to access them. Read here for more info:
http://en.wikipedia.org/wiki/Logical_volume_management
To answer the original question, I have no idea how Gnome handles LVs (since I never use them), so I can't help you with the icon issue.
Edit: Also, it is mounted as /storage right now. If it's not working, you may have to create the /storage directory. Just make sure it's empty.
Last edited by zootboy; 08-12-2010 at 08:47 PM.
|
|
|
All times are GMT -5. The time now is 04:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|