Increase disk size on OS side on the fly

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 10-24-2016
Increase disk size on OS side on the fly


I'm Linux administrator who happens to 'administer' SCO Unix 5.0.7, which is virtual server on VMware - deployed from official ovf image.

My problem is that root filesystem is almost out of disk space, and we've decided to do it as we do on every other virtual servers and extend disk on vmware level, then extend it on OS level.

However, it seems not to be that easy as I first thought it would be. When used 'divvy' utility it doesn't seem to have any free blocks that could be allocated, so I thought that there might be something else that has to be done beforehand to let the system know that something changed in disk setup. I've also tried 'mkdev hd' and recreate kernel, but after that server was unbootable, perhaps because it erased everything that was there.

Could anyone here help me to achieve disk extension on that system?
# 2  
Old 10-24-2016
You cannot increase the size of a HTFS partition without doing a backup and restore.
Do you have data files in the root file system, or do the log files just need to be truncated.
The easiest solution is to install Backupedge from, do a full backup, create the recovery media, resize the partition, and boot from the recovery media and do a restore. Microlite provides a 60 day full function demo.
This User Gave Thanks to jgt For This Post:
goldenboy (10-27-2016)
# 3  
Old 10-25-2016
Thank you for suggestion. Does BackupEDGE provide a tool to resize partition?

Backup of data is not a problem at the moment, as snapshot on VMware is done, and I've already used it after tampering with partition table and disk itself.
# 4  
Old 10-25-2016
Yes. The RecoverEDGE boot media includes fdisk, divvy, mkfs, and the restore function.
This User Gave Thanks to jgt For This Post:
goldenboy (10-27-2016)
# 5  
Old 10-26-2016
For some strange reason RecoverEDGE only let me make a floppy, but since it's virtual machine it doesn't have floppy to be formatted. I've read through documentation and it should have more options including ISO that could be burned, but I didn't have that option.

Ultimately I've checked our other deoployed SCO that was virtualised and compared settings and it seems that disk extension is not that necessary and I will just go with easiest solution to add additional disks and create apropriate mountpoints.

Nevertheless thanks for help.
# 6  
Old 10-27-2016
I will just go with easiest solution to add additional disks and create apropriate mountpoints.
Although this will allow you have more space for your current problem it is not going to clean out stuff on your root filesystem leading to the same space problem down the road in other places as log files and other stuff keeps building.

In the same circumstances on earlier systems, not virtualized, I used edge and a new temp filesystem to store stuff while the original was being cleaned off and a new filesystem and mount point was created. Edge does backup and restore to/from a filesystem location of your choice. For the burning there was the free iso creation tool and burning software from Nero, limited to CD but OK as the data was about 200mb.

Last edited by rbatte1; 10-27-2016 at 11:24 AM.. Reason: Added QUOTE tags
This User Gave Thanks to edfair For This Post:
goldenboy (10-27-2016)
# 7  
Old 10-27-2016
You might also consider a tool I've used before from Storix It would let you run a backup and the rebuild your server laying out new partitions as you go. Probably better than just increasing everything everywhere. Try to keep the root filesystem and others like /usr & /var to only have what is critical to get the OS to boot, perhaps with backup/recovery software included. /tmp and /home should also be separate filesystems really, ideally on separate physical volumes (or LUNs if disk is VM or SAN provided)

I'm not sure if it is available for your OS though, but please do have a read. It is very likely and is an excellent tool, apparently written by some of those that wrote mksysb for AIX.

I hope that this is useful,
This User Gave Thanks to rbatte1 For This Post:
goldenboy (10-27-2016)
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Increase disk size of guest domain apmcd47 Solaris 0 09-19-2017 12:40 PM
Increase the filesystem size farshad Red Hat 6 11-28-2013 10:20 PM
Kdb - vscsi disk mapping from AIX 5.3 CLIENT side The Doctor AIX 3 04-16-2013 10:34 AM
Increase Font size vasuibm Red Hat 1 03-26-2013 10:15 AM
Delete syslog but size disk can't increase edydsuranta Solaris 7 10-01-2012 01:01 PM
Swap size increase jegaraman Solaris 8 06-08-2011 12:20 PM
Increase size to sd[b-c] kopper UNIX for Dummies Questions & Answers 1 05-21-2011 09:06 PM
How to increase Virtual Disk size kishorbhede AIX 7 05-27-2009 08:21 AM
Increase salt size cryogen UNIX for Dummies Questions & Answers 1 05-25-2009 05:51 AM
How to increase process size ??? ronix007 UNIX for Dummies Questions & Answers 1 10-09-2008 06:38 AM
How to increase the filesystem size? Amol21 UNIX for Dummies Questions & Answers 3 08-02-2008 12:11 AM
how to increase the size of the allotment wrapster Solaris 2 02-19-2008 12:20 AM
increase size jyoti HP-UX 1 04-14-2006 12:08 PM
increase size of /tmp pkappaz UNIX for Dummies Questions & Answers 2 07-02-2003 12:49 PM
How to increase the size of the stack jyotipg Programming 7 01-28-2002 11:02 AM