LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-12-2010, 12:43 PM   #1
Vhal
LQ Newbie
 
Registered: May 2010
Posts: 15

Rep: Reputation: 0
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?
 
Old 08-12-2010, 01:04 PM   #2
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
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.
 
Old 08-12-2010, 01:31 PM   #3
Vhal
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 08-12-2010, 04:34 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by Vhal View Post
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.
 
Old 08-12-2010, 05:56 PM   #5
Vhal
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 08-12-2010, 08:45 PM   #6
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 10:19 AM
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 07:59 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
K icon change and hard drive mounting ylawayjdp SUSE / openSUSE 5 10-14-2004 04:47 PM
Hard drive and cdrom icon on desktop help jbumgar Linux - Newbie 4 07-29-2003 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:01 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