Visit Our UNIX and Linux User Community


filesystems resizing


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users filesystems resizing
# 1  
Old 01-31-2002
filesystems resizing

I want to resize my filesystem partitions. Reason is that I have 11GB of disk space unused by Unix which divvy reveals. Is there a way I could resize my filesystems without doing a reinstallation. The secondary problem is that the boot image is too large for a diskette (5MB).

I'm running SCO Openserver 5.0.6, RAID 5

I'll appreciate your assistance. Thanks
Sola
# 2  
Old 02-01-2002
First of all, if you are talking about /var, /, /usr, /tmp, /opt, or any other primary UNIX filesystem you will have to do your work from single user mode. Unless you have a product like Vertas Volume manager and Filesystem manager that will allow you to do changes online.

Second, If you are trying to reduce these filesystems, you will need to make a backup copy first just for safety's sake.

If you go to single user and reduce your filesystems. Make sure that the disk(s) you are removing have NO DATA on them. query your disks to see if they do or not.

If your disks have data on them that you want to remove. Make a backup copy and then reduce the filesystem then restore.

Of course if you have a product like Veritas, you can do this online for all except the root filesystem, I believe.
# 3  
Old 02-01-2002
Thnaks for the interest. I have only 3 fs. root, swap and user. Root is 93% full meanwhile I have 11GB of disk space not utilised by unix or any other OS. I want to simply increase the root fs and users to use the 11GB space.
Increase root with 2GB more and users with the remaining space.

Thanks.
# 4  
Old 02-01-2002
filesystem partitioning

That makes it easier.

But still go to single user for root and usr. Unless you have some online software that makes it easier.

You may want to see about separating /var from root and /tmp as well. Also, make a /home mount point for all user data and home directories.

These directories tend to fill up unexpectedly and can bring your system to its knees.

Your system should look like this. All with separate mounted Filesystems.

root swap and separate system swap as well.
/
/usr
/var
/tmp
/home


A good rule of thumb is to have root on a separate partition by itself. Also, to have root swap and secondary swap as well.

Of course, these are only suggestions, but good ones...

Is this your personal unix box or for work?

Smilie
# 5  
Old 02-01-2002
Hi,
It's a work server. I'll try the suggestion.

Thanks
Sola
# 6  
Old 02-02-2002
Okay... let me say this... Unless you are using a third party application such as Veritas on your SCO box.. you cannot just simply use divvy and change the size of your filesystems. I would look at creating a new filesystem on the additional unused disk space you have. The only other solution that I know of would be to re-install your O/S and then restore from tape your user files.

Of course.. this goes without saying.. but I'll say it... you might want to make SURE you have reliable backup data.. Not only data written to a tape.. but that the tape drive can actually read the tape.
# 7  
Old 02-02-2002
Jammer

I did make very clear that sshokunbi should be very careful and only do the more advanced work I suggested only if Veritas or some 3rd party software was available.

To only extend the existing filesytems (he/she) should only need to go to single user mode to perform that work with whatever proprietary commands at their disposal.

Thanks for re-iterating a very good and crucial bit of info!



Smilie Smilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #407
Difficulty: Medium
Cygwin's default package selection is quite small, containing little more than the bash shell and the core file manipulation utilities expected of a Unix command line.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to go about resizing the virtual disk?

Hi guys , We are running machines in virtual environment. As a part of virtual solution we have a disk created in form of files on host machine. The problem is we are facing space crunch and need to re size the harddisk files of virtual machines. There a catch the virtual machines are... (0 Replies)
Discussion started by: pinga123
0 Replies

2. HP-UX

Some doubts about resizing fs's in HP-UX

Hello, I'm new to HP-UX and I'm not sure about some concepts related to resizing fs's under this OS. First of all I'm only asking about resizing ONLINE, it means, without having to umount the fs nor rebooting, etc. Q1. I've read that in order to resize a fs online there are 2 requirements:... (3 Replies)
Discussion started by: asanchez
3 Replies

3. Solaris

Resizing a disk

I'm used to using AIX but a new box running Solaris I need a little help with. The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies

4. Solaris

vxfs online resizing

Hi, I have two filesystems called /u009 and /u008. I need to release 60gb from /u009 and add it to /u008 fs through fsadm command.. these are vxfs filesystem..its urgent.. thanx in advance (5 Replies)
Discussion started by: bpsunadm
5 Replies

5. Solaris

Parition Resizing

Is there a way to take space from the /opt slice (/dev/dsk/c1t0d0s5) and then put it in the /var (/dev/dsk/c1t0d0s1)? In theory, I should be able to ufsdump /opt and /var to another drive. Use disk label to resize those two slices (ex. take 10G from opt and add to /var) and then newfs and dump back... (1 Reply)
Discussion started by: adelsin
1 Replies

6. Filesystems, Disks and Memory

Help with resizing partitions

Hi First post :o I have recently used Acronis (Backup software for data backup and disaster recovery in Windows and Linux - Acronis) to create identical systems that I need to build. Everything works OK, but one of the machine has a bigger harddisk (250G) than the one I used to create the... (2 Replies)
Discussion started by: forte712
2 Replies

7. Linux

Dymamic resizing of a window

I want to run a script that changes the size of the window from which it's been started. Turns out that if I start up a putty windowo to a remove linux box, I can simply issue the command 'resize -s row col' and it will in fact do the resize. If I'm physically running on the local linux system's... (1 Reply)
Discussion started by: MarkSeger
1 Replies

8. AIX

Resizing VG with mirror

Dear Friends, I would like to know if there is any chance to expand a Volume Group, If this VG have a mirror. If there is any chance to do this what would be the safer way to avoid lost any data. Sorry about my English.:D Thanks a lot. (1 Reply)
Discussion started by: chrispaz
1 Replies

9. UNIX for Dummies Questions & Answers

Resizing file

is there anything such as "resizing file for optimal disk usage" if so, whats it about? (4 Replies)
Discussion started by: TRUEST
4 Replies

10. UNIX for Dummies Questions & Answers

resizing slices

I downloaded the Solaris recommended patched for x86 and tried to install it, but I got the message that I dont have enough disk space. I don't want to install the patches without the option to back out. Anyway I did a df -k and found that my root mount point is in 948MB whereas my /export/home is... (5 Replies)
Discussion started by: dangral
5 Replies

Featured Tech Videos