Resize Root Filesystem in SUSE Linux

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Resize Root Filesystem in SUSE Linux
# 1  
Old 05-05-2009
Resize Root Filesystem in SUSE Linux

Hello Experts,

I am very new to unix environment.

Root filesystem in one of our Linux boxes has almost reached 100%. is there a procedure/ way to resize the root filesystem.
******************************************************
ld8331:/ # df -h|more
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00r1-lvol1
8.0G 8.0G 152K 100% /
tmpfs 47G 65M 47G 1% /dev/shm
/dev/mapper/vg00r1-lvol3
2.0G 247M 1.8G 13% /tmp
/dev/mapper/vg00r1-lvol2
2.0G 1.6G 476M 77% /var
/dev/sda1 76M 8.1M 67M 11% /boot
ns0068s:/vol/aggr2_ld8331_2
600G 57G 544G 10% /sapmnt/ld8331/a
ns0068s:/vol/aggr1_ld8331_1
600G 17G 584G 3% /sapmnt/ld8331/b
******************************************************

In simpler words i want to increase the size of my root filesystem from 8 GB to 548 gb.

If this is possible, humbly request you to let me know the step by step procedure that is to be followed.

Thanks a ton in Advance,
Ashok. R
# 2  
Old 05-05-2009
Sorry, but I have to ask: why increase the root to such a large size if it's more sensible to create new logical volumes for those directories using the most space, eg /usr or /opt?

If you really need to increase the root filesystem itself:
  • Take a backup!
  • Verify that backup!
  • Do not continue unless you did both steps!
  • Increase the size of the LVOL
  • Reboot into single-user mode
  • Resize with the tool appropriate to your filesystem (ext2resize for Ext2/Ext3, resize_reiserfs for ReiserFS, xfs_growfs for XFS, mount -o remount,resize / for JFS)
  • Reboot and verify everything is still working
  • Do not throw away your backup until you're absolutely sure everything works
# 3  
Old 05-05-2009
/ filesystem getting full

Probably no down time is necessary.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SCO

Resize root partition

I have SCO Openserver 5.0.5 Root partition is 96% full and I would like to make it bigger. How can this be done? 1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u) 2) ... (5 Replies)
Discussion started by: grips03
5 Replies

2. Red Hat

How to resize filesystem by resizing the LUN without impact to applications.?

Is it possible to resize a filesystem by resizing the LUN on RHEL 6.4 64-bit with LVM and no impact to running applications? The research I have done so far seems to take the approach of adding a new LUN and then expaning the volume group to the new LUN. I'm looking for an approach that avoids a... (7 Replies)
Discussion started by: aenagy
7 Replies

3. Red Hat

How to RESIZE / root partition in RHEL5 (VM)?

Hi Team, Require your expertise on how to resize / partition. This is VM. Thank you. Reggy # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 15G 13G 556M 96% / /dev/sda1 965M 43M 873M 5% /boot tmpfs 502M 0 ... (5 Replies)
Discussion started by: regmaster
5 Replies

4. UNIX for Dummies Questions & Answers

resize a filesystem in solaris 10

i am facing a problem, i would like to resize a file system called /pcard04 i am not useing any voulme manager and we have a NETAPP center storge. what i did is root@cms-dev # df -h | grep /pcard04 /dev/dsk/c4t60A9800043346C35636F2D6D4F354743d0s0 5.2G 4.0G 1.0G 80% /pcard04 then... (1 Reply)
Discussion started by: q8devilish
1 Replies

5. Solaris

VxVM filesystem resize

This is actually a VxVM question. I have a volume/filesystem spread over 4*146G disks. Now I want to shrink the filesystem - which I can do using vxresize. However, I want to shrink so that two of the four disks that the filesystem occupies are removed from the volume. Can I do that? (3 Replies)
Discussion started by: blowtorch
3 Replies

6. UNIX for Dummies Questions & Answers

Resize root disk slices

I have a Sun box running Solaris 9. My root disk was slices too small when it was installed and I am now at 99% capacity for my root partition. Is it possible, and if so how?, to increase the size of slice 0 and decrease the size of slice 7?? Thanks! Current partition table... (6 Replies)
Discussion started by: FredSmith
6 Replies

7. SuSE

root folders group changed in SUSE linux

The group of the /root folder has been changed and then logged out I am not able to log in to the /root user as it is saying Xsession log in not allowed Is there any way that the group of the /root folder be changed? (1 Reply)
Discussion started by: napster_san
1 Replies

8. AIX

Filesystem resize (AIX 5.3)

Hi.. I have to resize a partition(filesystem). I mean reduce the size one particular partition and increase the size of another. What should I do?? Pls help Bala (5 Replies)
Discussion started by: balaji_prk
5 Replies
Login or Register to Ask a Question