Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - General Questions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - General Questions If your question doesn't fit in any other category below ask in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Feb-2007, 21:02
garyg
Guest
 
Posts: n/a
Default

Suse Hung. I had to hit the reset button. Fortunately a failsafe restart presented me with a console. a few commands and I found that the "/" partition (yes, I called it a partition) was at 100%.

"/" is mounted on /dev/hdb10 is 3.5G 100% full
"/home" is mounted on /dev/hdb11 which is 18G 15G avail 15% full

Any suggestions on the best way to fix this without loseing everything?

My plan is to backup the two partitions and then re-distribute the space (I believe the partitions are adjacent-i'll have to check fdisk) and restore them.

Obviously the data is going to be in physically different locations on the hard drive --- will this create a problem? "/" is an ext3 partition. and "/home" is an "xfs" partition

I had an external usb hard drive for just such events, but the last time the power company had a problem, It fried the drive when power came back on.

Cheer's,
Gary

  #2 (permalink)  
Old 22-Feb-2007, 21:32
watagan
Guest
 
Posts: n/a
Default

Suggest you google to the gparted livecd, download the iso, burn it, boot from it and go for it, ie you can use the gparted livecd to resize your partitions. If you can't boot from your hard drive you might best download and burn the gparted iso using another livecd (knoppix etc). You will need to mount your /home partition to hold the downloaded iso prior to burning it.

Have fun....
  #3 (permalink)  
Old 23-Feb-2007, 01:44
M3PH
Guest
 
Posts: n/a
Default

right you root partition size i s waaaaaay too small. the suse install unpacked is at least 3GB. i suggest you wipe the partition set up (leaving windows alone) and start again giving at least 10GB to /.

if you have a large drive (100GB or more) and windows is taking up 70-75% or more you will need to take a backup of your data and wipe the drive making sure when you install windows that it uses no more than 50% of the disc and then when you install suse you give at least the minimum i recommended to /.

as or reszing with gparted the last version i am aware of can not resize xfs partitions so i suggest you look at partmagic (a fork of gparted developed my the gparted dev)
  #4 (permalink)  
Old 23-Feb-2007, 11:08
garyg
Guest
 
Posts: n/a
Default

Quote:
right you root partition size i s waaaaaay too small. the suse install unpacked is at least 3GB. i suggest you wipe the partition set up (leaving windows alone) and start again giving at least 10GB to /.

if you have a large drive (100GB or more) and windows is taking up 70-75% or more you will need to take a backup of your data and wipe the drive making sure when you install windows that it uses no more than 50% of the disc and then when you install suse you give at least the minimum i recommended to /.

as or reszing with gparted the last version i am aware of can not resize xfs partitions so i suggest you look at partmagic (a fork of gparted developed my the gparted dev)
[/b]
Hello M3PH,
the pc has 2 hard drives; a 60G and a 40G. Win/xp is on the 60G and suse 10.2 is on the 40G. Here is the partition layout:
Code:
suselinux:~ # df -h
Filesystem************Size**Used Avail Use% Mounted on
/dev/hdb10************3.5G**3.4G**** 0 100% /
udev******************316M**168K**316M** 1% /dev
/dev/hdb1**************99M** 50M** 44M**54% /boot
/dev/hdb5************ 6.0G**3.7G**2.0G**65% /usr
/dev/hdb6************ 4.0G**588M**3.2G**16% /var
/dev/hdb7************ 3.0G**1.2G**1.7G**41% /opt
/dev/hdb8************ 2.0G** 68M**1.9G** 4% /local
/dev/hdb11************ 18G**2.5G** 15G**15% /home
/dev/hda1**************23G** 15G**8.3G**64% /windows/C
/dev/hda5**************35G** 24G** 11G**70% /windows/D
suselinux:~ #
Given this layout, is the "/" partition still "waaaaaay too small"??
Any comments greatfully appreciated.

What started all of this is, I had a 10G home partition, and it ran out of space, so I moved it to an external usb hard drive - then we had a power outage--when the power came back on the surge fried my external hard drive.

What exacerbated the problem was that I installed mythtv and took most of the defaults---well it records video to a folder on the "/" partition. Thats going to change as soon as I replace the external usb hard drive.
  #5 (permalink)  
Old 23-Feb-2007, 13:22
M3PH
Guest
 
Posts: n/a
Default

given the lay out it is still way too small and i still recommend you using at least 10GB for it for the following reason:

/tmp gets used a lot and backup utils can easily stick 5GB of stuff in there (and if the process crashs you have 5gb or orphaned stuff). Add the fact that a lot of apps don't clean up after themselves properly between boots (can't blame them it's not like linux was ever designed to be booted every 8 hours, more like 8 years) and you will easily end up with a problem.

what i suggest you do is switch the os's around so linux is ion the 60GB disk and windows is on the 40GB (if i had a say in the matter i would tell you to ditch windows and find alternatives for your windows apps, but i don't)
  #6 (permalink)  
Old 23-Feb-2007, 14:07
Zombie13
Guest
 
Posts: n/a
Default

Quote:
given the lay out it is still way too small and i still recommend you using at least 10GB for it for the following reason:

/tmp gets used a lot and backup utils can easily stick 5GB of stuff in there (and if the process crashs you have 5gb or orphaned stuff). Add the fact that a lot of apps don't clean up after themselves properly between boots (can't blame them it's not like linux was ever designed to be booted every 8 hours, more like 8 years) and you will easily end up with a problem.

what i suggest you do is switch the os's around so linux is ion the 60GB disk and windows is on the 40GB (if i had a say in the matter i would tell you to ditch windows and find alternatives for your windows apps, but i don't)
[/b]
I'm gonna have to disagree with M3PH a little here. Given your layout, I don't the / is too small, provided you synlink /tmp somewhere else, which isn't a bad idea anyway given you have everything else in it's own filesystem. Which begs the question: Why? Is this a desktop or 'production' server? Given that you have everything on 1 disk, I think you'll get a little performance back if you put everything in 1 partition. Then you don't have space issues like you are having either.

I done the whole split filesystems thing, even with multiple disks, and it's just easier to use 1 filesystem in the long run.

Just my $.02, please paypal me any change.

Z.
  #7 (permalink)  
Old 23-Feb-2007, 20:33
garyg
Guest
 
Posts: n/a
Default

Quote:
(if i had a say in the matter i would tell you to ditch windows and find alternatives for your windows apps, but i don't)
[/b]
That is my ultimate objective.
I acquired another usb hard drive today, and moved "/home" to it and expanded "/" to the space freed up by the move.

I am in the process of trying to build a linux with apps to replace the windows apps that I use. And run VMserver with a Win/Me guest for the one or two windows apps I havent found satisfactory linux stuff for.

Gary
  #8 (permalink)  
Old 07-Mar-2007, 13:03
johnroberts
Guest
 
Posts: n/a
Default

Hi Gary

After looking into the backup/restore problem I wrote a how-to:

http://forums.suselinuxsupport.de/index.ph...t=0#entry221316

Maybe it will help...


Greets
 

Bookmarks

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