LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-24-2006, 11:45 PM   #1
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 51
Two questions on NETWORK and ROOT partition


Guys,

Problem 1: Now ever since i started using FC5 (from MArch) i had an always on internet connection. But i lost my connection to my isp last night (i found out in XP). Now whenever i boot FC5 it stops at the sendmail service. So i used the interactive option (used 'i' key) and answered no to network and sendmail service and i got into FC5. But this method is highly improbable to use everytime. So how can i get around regardless of my isp connection??

Problem 2: MY partitions are root (5 GB), home (11 GB) and swap (256mb) respectively. Updating my system has taken its toll and only 600mb is left in my root partition. How can i increase its size ?? Recent updates list shows a size of 610mb but no space here. HELP

Disk Details
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb8             4.8G  4.0G  583M  88% /
tmpfs                 504M     0  504M   0% /dev/shm
/dev/sdb9              12G  8.4G  2.6G  77% /home
/dev/sdb11            745M   19M  688M   3% /tmp
/dev/sda1             4.9G  4.5G  397M  93% /media/XP_System
/dev/sdb6              20G   19G  1.2G  95% /media/MAX_Backup
/dev/sdb1             9.8G  2.5G  7.4G  25% /media/CATIA
/dev/sdb5             9.8G  9.0G  867M  92% /media/APPS
/dev/sdb7              20G   17G  3.4G  84% /media/DOWNLOADS
/dev/sda6             5.2G  4.7G  510M  91% /media/XP_Samples
/dev/sda8              15G   15G  518M  97% /media/XP_Backup
/dev/sda7              15G   12G  2.7G  82% /media/XP_Games
/dev/sda5             9.5G  6.8G  2.8G  71% /media/XP_Software
/dev/sda9              15G   14G  1.4G  91% /media/XP_Media
/dev/sda3             2.1G  701M  1.4G  34% /media/XP_Primary
/dev/sda10            9.1G  8.7G  355M  97% /media/XP_Misc
Thanks
 
Old 04-25-2006, 12:42 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Stop sendmail if you really dont need it.
You can do this with "ntsysv" command.

As for the space try this.
Check for /var directory space
du -sh /var
If it has a considerable amount of space then change that /tmp dir to ar dir and move the /var dir contents to it and change the partition to /var [Take a copy of var before moving and delete it after movin the contents].

While going for a linux install it is cool to have /usr and /var as seperate partitions so that future upgrades may be easy

Cheers
Zulfi
 
Old 04-25-2006, 12:43 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you are not really using the Sendmail service, you can stop it from starting at boot up by doing as root "chkconfig sendmail off". As for your diskspace, if you run "yum clean all" you maybe able to reclaim some space thats being used by stored rpms. As for resizing your partitions, take a look into parted (you can use gui's like gparted and qtparted). Its not alway possible to resize partitions, so you may end up having to reinstall and creating partitions with the right sizes during installation.
 
Old 04-25-2006, 02:36 AM   #4
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Original Poster
Rep: Reputation: 51
Thanks for the help mates, appreciate it.

But before i disable sendmail, i need to know what it is and what does it do. Is it related to kmail in KDE and evolution in Gnome, coz i use kmail to retrieve my mails from the server.

Alas my /var doesn't have much space so until i find this info somewhere, or someone points me to a web resource ( though ill knock my brains out by googling ) ill put the idea on hold. I dont want to start partitioning and installing afresh, there is too much data on hold.
 
Old 04-25-2006, 02:42 AM   #5
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Or you can try to connect a new hard disk and move your /usr directory to that harddisk.
This should free the root partition considerably.
And that would be better compared to resizing the partition or reinstalling linux.

Cheers
Zulfi
 
Old 04-25-2006, 02:50 AM   #6
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Original Poster
Rep: Reputation: 51
But what will happen to my programs? Aren't all the executables installed in /usr/bin ?? IS IT SAFE ??
 
Old 04-25-2006, 02:57 AM   #7
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
It is. Try this

Connect a new harddisk or find some space for a new partition.
Create a new empty partition with good space.
Let the partition be say /dev/hda1
Now login to single user mode mount the partition to some directory [say /mnt/tmpuser ] and copy all the contents of /usr directory into the new partition.
After copying mv /usr to /usr_old/
Create a /usr dir and mount the new partition to /usr directory.
Boot the system to normal mode and see if the system is running properly.

If you feel evrythin is ok delete /usr_old and reclaim your / space.

Note:
Delete /usr_old only when you are sure everything is Ok.If not /usr_old can always be reverted back to /usr/.


Cheers
Zulfi
 
Old 04-25-2006, 03:05 AM   #8
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Original Poster
Rep: Reputation: 51
Thanks Zulfi, ill try that and get back to you
 
Old 04-27-2006, 10:49 PM   #9
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Original Poster
Rep: Reputation: 51
SUCCESS sounds SWEET..!!

Hi Zulfi,

Followed your instructions and succeeded And this is called RELOCATING A FILESYSTEM.

Though your description was vague and brief, but u got me started thanks.
For example, u didnt say to add an entry into /etc/fstab for the new mount. Not that u need to always, but i understood some stuff here and knew a few commands so i got away with it. But im still a newbie(well mayb experienced newbie) and faced a few problems while going about it.

Enough about this bull talk.....

KUDOS BUDDY GOOD JOB

Thanks for everything mate.
 
  


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
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 05:15 PM
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 07:41 AM
Partition Questions firedance Linux - Hardware 1 04-08-2005 05:46 PM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 04:15 PM
partition questions twist0110001 Linux - Newbie 1 08-01-2002 11:26 AM


All times are GMT -5. The time now is 07:58 PM.

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