openSUSE Forums > Install/Boot/Login » Extending root-partition and backuping?

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Jan-2009, 20:09
rollex2's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Jyväskylä, Finland
Posts: 87
rollex2 hasn't been rated much yet
Send a message via ICQ to rollex2 Send a message via AIM to rollex2 Send a message via MSN to rollex2 Send a message via Yahoo to rollex2 Send a message via Skype™ to rollex2
Exclamation Extending root-partition and backuping?

Hello,

My root partition /dev/sda9 is about 8gb for some reason and now it's almost full. I would like to install more programs and stuff but I can't, and also I can't open stuff with firefox because it says there is not enough free space in /tmp. Of course I could always remove some programs and so on, but it would take the burden off if there just was more space... it bugs me to remove not-so-often-used programs and install them back when i need them and remove some more to get them installed.....

So, of course I first tried qtparted and gparted with knoppix bootable live cd (I know that much that I can't resize mounted partitions on mi suse). Qtparted didn't allow me to resize at all (resize-option greyed out). Gparted let me resize but only make it smaller. I have about 40 gigs unallocated free space but how in the world I get that 40 gigs to root-partition?

Google is my friend but he couldn't help me in this situation. Found some random stuff, but no luck. I'm just not so experienced with partitions...

My filesystem is ext3 and my distro is openSUSE 11.0, on gnome.

Also I think it would be good to backup root, and in fact I would like to backup whole linux. Which is the easiest way to do backup or disk-image or something?

Can somebody help me please? Thank you in advance!
__________________
Laugh at your problems, so does everyone else.
Reply With Quote
  #2 (permalink)  
Old 23-Jan-2009, 20:17
rollex2's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Jyväskylä, Finland
Posts: 87
rollex2 hasn't been rated much yet
Send a message via ICQ to rollex2 Send a message via AIM to rollex2 Send a message via MSN to rollex2 Send a message via Yahoo to rollex2 Send a message via Skype™ to rollex2
Default Re: Extending root-partition and backuping?

Sorry, /dev/sdb8 is root.

Code:
Laite Käynn     Alku          Loppu    Lohkot   Id  Järjestelmä
/dev/sdb2            5223       17811   101121142+   7  HPFS/NTFS
/dev/sdb3           17812       30401   101129175    5  Laajennettu
/dev/sdb5           17812       26734    71673966    7  HPFS/NTFS
/dev/sdb6           30185       30401     1743021   82  Linux-sivutus / Solaris
/dev/sdb7   *       26735       28114    11084818+  83  Linux
/dev/sdb8           28115       29041     7446096   83  Linux
/dev/sdb9           29042       30184     9181116   83  Linux
__________________
Laugh at your problems, so does everyone else.
Reply With Quote
  #3 (permalink)  
Old 23-Jan-2009, 20:21
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,941
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Extending root-partition and backuping?

From suse, give us the su terminal result of

fdisk -l

(You just did!!!!!)edit

Yast Partitioner may allow what you want.

*N.B. You can set /tmp files to be deleted at boot in Sysconfig editor
cron

or just manually delete what you can
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #4 (permalink)  
Old 24-Jan-2009, 08:59
rollex2's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Jyväskylä, Finland
Posts: 87
rollex2 hasn't been rated much yet
Send a message via ICQ to rollex2 Send a message via AIM to rollex2 Send a message via MSN to rollex2 Send a message via Yahoo to rollex2 Send a message via Skype™ to rollex2
Default Re: Extending root-partition and backuping?

Okay, my friend helped me a bit. He told me simple "solution" to my case.

1. Create partition /dev/sdb1 and mount it to /mnt/usr
2. Copy root's /usr to created partition sdb1,
3. umount /dev/sdb1
4. mount /dev/sdb1 /usr and see that everything works fine.
5. umount /dev/sdb1, rm -rf /usr/* (make sure /usr is really copied successfully to new partition!!)
6. edit fstab and make it mount automaticly

Seems to work fine for now. then my another question: what's the best way to backup whole system?
__________________
Laugh at your problems, so does everyone else.
Reply With Quote
  #5 (permalink)  
Old 24-Jan-2009, 23:18
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,941
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Extending root-partition and backuping?

Backup is not something I ascribe to and neither is it just as simple as it sounds.
All I do is backup user data from /home

for me
/
is formatted always. Remember there is 6 - 9 months between releases. And I re-install at each. It's just a matter of re-installing your applications, takes about an hour.

I have come across some users using clonezilla.
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
Reply

Bookmarks

Tags
parted, partitioning, root


Thread Tools
Display Modes

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




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2