Unix/Linux Go Back    


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Increase disk size on OS side on the fly

SCO


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-24-2016
goldenboy goldenboy is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 7 November 2016, 10:46 AM EST
Posts: 6
Thanks: 4
Thanked 0 Times in 0 Posts
Increase disk size on OS side on the fly

Hi,

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?
Sponsored Links
    #2  
Old Unix and Linux 10-24-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 22 May 2017, 9:14 AM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,932
Thanks: 2
Thanked 250 Times in 236 Posts
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 microlite.com, 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.
The Following User Says Thank You to jgt For This Useful Post:
goldenboy (10-27-2016)
Sponsored Links
    #3  
Old Unix and Linux 10-25-2016
goldenboy goldenboy is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 7 November 2016, 10:46 AM EST
Posts: 6
Thanks: 4
Thanked 0 Times in 0 Posts
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 Unix and Linux 10-25-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 22 May 2017, 9:14 AM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,932
Thanks: 2
Thanked 250 Times in 236 Posts
Yes. The RecoverEDGE boot media includes fdisk, divvy, mkfs, and the restore function.
The Following User Says Thank You to jgt For This Useful Post:
goldenboy (10-27-2016)
Sponsored Links
    #5  
Old Unix and Linux 10-26-2016
goldenboy goldenboy is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 7 November 2016, 10:46 AM EST
Posts: 6
Thanks: 4
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #6  
Old Unix and Linux 10-27-2016
edfair edfair is offline
Registered User
 
Join Date: May 2008
Last Activity: 25 May 2017, 11:08 AM EDT
Location: Tucker GA
Posts: 187
Thanks: 0
Thanked 20 Times in 20 Posts
Quote:
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 10:24 AM.. Reason: Added QUOTE tags
The Following User Says Thank You to edfair For This Useful Post:
goldenboy (10-27-2016)
Sponsored Links
    #7  
Old Unix and Linux 10-27-2016
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 25 May 2017, 7:38 AM EDT
Location: Lancashire, UK
Posts: 3,102
Thanks: 1,301
Thanked 590 Times in 534 Posts
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,
Robin
The Following User Says Thank You to rbatte1 For This Useful Post:
goldenboy (10-27-2016)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Kdb - vscsi disk mapping from AIX 5.3 CLIENT side The Doctor AIX 3 04-16-2013 09:34 AM
Delete syslog but size disk can't increase edydsuranta Solaris 7 10-01-2012 12:01 PM
Increase size to sd[b-c] kopper UNIX for Dummies Questions & Answers 1 05-21-2011 08:06 PM
How to increase Virtual Disk size kishorbhede AIX 7 05-27-2009 07:21 AM
increase size jyoti HP-UX 1 04-14-2006 11:08 AM



All times are GMT -4. The time now is 04:20 PM.