Increase disk size on OS side on the fly


 
Thread Tools Search this Thread
Operating Systems SCO Increase disk size on OS side on the fly
# 1  
Old 10-24-2016
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?
# 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 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.
This User Gave Thanks to jgt For This Post:
# 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:
# 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
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 11:24 AM.. Reason: Added QUOTE tags
This User Gave Thanks to edfair For This Post:
# 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,
Robin
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Increase disk size of guest domain

Host System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. running Solaris 11.3. Last login: Tue Sep 19 14:42:42 2017 from xxx.xxx.xxx Oracle Corporation SunOS 5.11 11.3 June 2017 $ uname -a SunOS sog01 5.11 11.3 sun4v sparc sun4v $ Original physical systems: Sun... (0 Replies)
Discussion started by: apmcd47
0 Replies

2. AIX

Kdb - vscsi disk mapping from AIX 5.3 CLIENT side

If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that: print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3. My question is... (3 Replies)
Discussion started by: The Doctor
3 Replies

3. Solaris

Delete syslog but size disk can't increase

Hi Experts, I have a problem wih /var. Disk /var is full. After i investigate, i found file /var/log/syslog.0 is growing rapidly. The size is 4.3G. I tried to move syslog.0 to another disk and file was moved successfully. My question is why size /var can't increase? used space still 100%. ... (7 Replies)
Discussion started by: edydsuranta
7 Replies

4. UNIX for Dummies Questions & Answers

Increase size to sd[b-c]

hi guys I am working on my vmware workstation. I have a /dev/sdb which is 5GB. I am using LVM. Now I increase /dev/sdb 2 more GB. fdisk -l shows 7 GB but pvscan still shows 5GB. how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies

5. AIX

How to increase Virtual Disk size

Hello, I am working AIX VIO server and extended Virtual Disk of one of the Partition with 10GB. After starting partition, i am not able to see increased size of disk. Can you please help me what I need to do to increase the size of virtual disk from partition? Thanks Kishor ... (7 Replies)
Discussion started by: kishorbhede
7 Replies

6. UNIX for Dummies Questions & Answers

Increase salt size

Unix protect its password by using salt It that mean larger the salt size the more secure? if the salt size increase greatly, will the password still able to be cracked? thank you for helping (1 Reply)
Discussion started by: cryogen
1 Replies

7. Solaris

increase Root size

Dear all, I am very new to solaris, I have installed solaris 10, i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device " i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies

8. Solaris

how to increase the size of the allotment

Hi all, I have a 130gb HDD of which 95b is taken up by various partitions of windows xp... I partitioned my HDD and gave solaris 10gb of space, but now owing to some development stuff i need to increase the space!!! How do i do it!! Please note that i do have ~20gb of space left still...... (2 Replies)
Discussion started by: wrapster
2 Replies

9. HP-UX

increase size

Hi All, one of the mount point in Hp ux server has reached 95% its a data base file and can not be deleted. so i want to know how to increase the size of mount point i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies

10. UNIX for Dummies Questions & Answers

increase size of /tmp

My /tmp is full, and the oracle installation is crashing. How can I increase the size of /tmp, even though I have allocated all the available disk space to other partitions? (2 Replies)
Discussion started by: pkappaz
2 Replies
Login or Register to Ask a Question