LinuxQuestions.org
Visit Jeremy's Blog.
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 01-26-2005, 11:03 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
mount /dev/ path


I have newly installed a RH linux server , I choose auto partition when installing , now i only have the below partition , could suggest how can I mount the path back ( eg. /tmp , /home /usr ) , how can I know what is the device name ? thx


#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 3455064 1248468 2031088 39% /
/dev/hda1 101089 9140 86730 10% /boot
none 144068 0 144068 0% /dev/shm
 
Old 01-27-2005, 02:41 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you have partitions that are not mounted, you can see them with the 'fdisk -l' command.

Are you certain that /home, /tmp and /usr aren't directories in the root partition. I.E. are they empty, or do they contain files. Is your server running?
 
Old 01-27-2005, 04:44 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
thx reply , the /home, /tmp and /usr is under / directory , I only don't know how to mount it , so that I can see all this path when run "df" , thx
 
Old 01-27-2005, 09:02 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,672

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
The default auto selection creates 3 partitions
/
/boot
/swap

You do not have seperate partitions for /home, /tmp and /usr and so you can not mount them. Use the du command to find disk usage for those directories.
 
Old 01-27-2005, 07:29 PM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
thx reply , but how can I see all the path when use "df" ?

like this

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda9 8096152 5358092 2326800 70% /
/dev/sda1 505605 25394 444107 8% /boot
none 515308 0 515308 0% /dev/shm
/dev/sda8 505605 27220 455281 6% /tmp
/dev/sda3 5162828 2657404 2243164 55% /usr
/dev/sda7 1035660 420688 562364 43% /var
/dev/sda5 4127076 2665684 1751748 52% /home
 
Old 01-27-2005, 09:33 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,672

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Quote:
Originally posted by ust
thx reply , but how can I see all the path when use "df" ?

like this

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda9 8096152 5358092 2326800 70% /
/dev/sda1 505605 25394 444107 8% /boot
none 515308 0 515308 0% /dev/shm
/dev/sda8 505605 27220 455281 6% /tmp
/dev/sda3 5162828 2657404 2243164 55% /usr
/dev/sda7 1035660 420688 562364 43% /var
/dev/sda5 4127076 2665684 1751748 52% /home
You can not. This install has seperate partitions for /home, /var and /usr and your first post does not. The command df shows disk usage on mounted filesystems.

In your first post /dev/hda2 is your / which contains everything except /boot.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
how to mount a path ust Linux - Distributions 2 05-11-2005 10:34 AM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 08:53 AM
How to add block devices in the /dev path dvs Linux - Hardware 2 01-21-2004 04:23 PM

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

All times are GMT -5. The time now is 05:39 PM.

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