LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 06-19-2004, 03:21 AM   #1
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Rep: Reputation: 15
Linux Mounting issues


HI
My file system is something like this:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 497829 497828 0 100% /
none 0 0 0 - /proc
/dev/hda6 73535252 983152 72552100 2% /data
none 0 0 0 - /dev/pts
none 511396 0 511396 0% /dev/shm
/dev/hda2 2522076 1400092 993868 59% /usr
/dev/hda5 1004024 316380 636640 34% /var


It seems my /usr and /var folder have been mounted on /dev/hda2(primary partition) and /dev/hda5(extended partition) resp. I want to store the contents of both /usr and /var in /dev/hda6 (extended partition) without loosing my current data on these folders

For doing that I think i have to mount /dev/hda6 to these folders..

I hope I am clear
Please help me doing that...
 
Old 06-19-2004, 02:31 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
hda5 and 6 are logical, not extended. hda4 should be the extended one.

Why you want to do this? What will be the benefit?
 
Old 06-19-2004, 02:38 PM   #3
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Original Poster
Rep: Reputation: 15
usr and var are full

bcoz my mails and database are in usr and var folder only..
so they are getting full very quickly..

I am running out of disk space
 
Old 06-19-2004, 02:47 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
A partition is mounted in a directory, not vice-versa. If you are running out of disk space, it means that the partitions where data is stored are getting full. Mounting in another dir won't help you.
Besides, 59% and 34% don't look so full.
 
Old 06-19-2004, 05:14 PM   #5
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
Ok, so as I see it, you've allocated 73.5 gigs to hda6 (/data) and you've only got 2.5 gigs for hda2 (/usr) and 1 gig for hda5(/var). So basically you misjudged the amount of space you would need. ( No matter how much space I allocate I always seem to run out.) I don't know what distro your using but some have partitioning software that will allow you to resize partitions without harming the data on them. Since you have only one drive this would be a good option for you.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM
Issues mounting a HD moeru Linux - Hardware 5 07-03-2004 04:56 PM
Mounting Issues lookformeb Linux - Newbie 8 11-13-2003 09:15 AM
Mounting Issues MasterKin8T Linux - Software 3 09-06-2003 10:07 PM
cd mounting issues fractal_chaos Linux - Newbie 25 09-03-2003 06:32 PM


All times are GMT -5. The time now is 10:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration