• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

mount points linux

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Mon Oct 05, 2009 1:55 pm    Post subject: mount points linux Reply with quote

whats is the command in centos to see where /var /etc/ /proc/ and all those directories are mounted.. i know they are on //[b][/b]dev[b][/b]/VolGroup00/LogVol00 but i need the a command to show me that... thanks
Back to top
View user's profile Send private message
Fire Ant
Trusted SF Member
Trusted SF Member


Joined: 27 Jun 2008
Posts: 3
Location: London

Offline

PostPosted: Mon Oct 05, 2009 2:04 pm    Post subject: Reply with quote

mount or df -h will do the job.

Matt_s
Back to top
View user's profile Send private message
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Mon Oct 05, 2009 2:16 pm    Post subject: Reply with quote

matt_s wrote:
mount or df -h will do the job.

Matt_s

neither give me what im looking for...

df -h shows hd1 and "/[b][/b]dev[b][/b]/volgoup" but it doesnt list the directories thats mounted on the /[b][/b]dev[b][/b]/volgroup. its says / is mounted but i want to see... "/var" "/etc/" "/proc" ...
Back to top
View user's profile Send private message
Fire Ant
Trusted SF Member
Trusted SF Member


Joined: 27 Jun 2008
Posts: 3
Location: London

Offline

PostPosted: Mon Oct 05, 2009 2:45 pm    Post subject: Reply with quote

Did you setup mount points for them?

df -h should tell you where they mounted from. For example on my RH5 system I have the following:

//[b][/b]dev[b][/b]/mapper/VolGroup00-LogVol00 /
//[b][/b]dev[b][/b]/sda1 /boot

Matt_s
Back to top
View user's profile Send private message
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Mon Oct 05, 2009 2:52 pm    Post subject: Reply with quote

matt_s wrote:
Did you setup mount points for them?

df -h should tell you where they mounted from. For example on my RH5 system I have the following:

//dev/mapper/VolGroup00-LogVol00 /
//dev/sda1 /boot

Matt_s


i get the same print out but how do i know that "/var" is mounted on mapper/VolGroup00-LogVol00. i know i can go to root and do an LS but i want to see who much space /var is using. from your print out how can i tell where /var is?
Back to top
View user's profile Send private message
Fire Ant
Trusted SF Member
Trusted SF Member


Joined: 27 Jun 2008
Posts: 3
Location: London

Offline

PostPosted: Mon Oct 05, 2009 2:59 pm    Post subject: Reply with quote

It looks like /var is mounted as part of the VG00 by the LVM. To find out how much space /var uses use the following command:

du -ch

This will show you the disk usage. Either run this at the root (/) or in /var

Matt_s
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register