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
    #8  
Old Unix and Linux 10-27-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
@edfair

I will have to read entire documentation. I've installed BackupEDGE and left default settings and in RecoverEDGE the only option that appeared to me to have recovery image created was floppy drive, no ISO or anything other.

I need to have a second look at it, as I'm struggling with migration from physical to virtual server. Physical got tar of all directories and I tried to untar them on physical, but of course after reboot it crashed. Eventually I got to point where I excluded /etc /opt/{K,P} /var/opt/K directories and was able to relink kernel with only one error and succesfuly boot, but I'm not sure if services that were on physical were started fine (no erros during boot, but still).

@rbatte1

I will check it for sure. Thanks!

Thank you for the input, hopefully I will manage to solve my problems with that difficult (for me) Unix.
Sponsored Links
    #9  
Old Unix and Linux 10-28-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 June 2017, 8:58 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,938
Thanks: 2
Thanked 251 Times in 237 Posts
The system will not run without /opt; it is the operating system. The files in /usr/bin and /bin, are only links to /opt/K....

Code:
-bash-3.2# cd /usr/bin                                                          
-bash-3.2# ls -li tar                                                           
32410 lrwxrwxrwx    1 root     sys         35 Feb 15  2013 tar -> /opt/K/SCO/Unix/6.0.0Ni/usr/bin/tar                                                           
-bash-3.2#

The kernel is built from files in /etc/conf.
The system documentation is here if you did not install it.
DocView: Access to SCO OpenServer Documentation
You did not say if your lack of disk space is a result of incremental file growth, or not allocating enough space to start with.
If the former, the following are places to look.
/usr/spool/mail, for unread system email (if empty, the location of mail boxes is stored in /usr/mmdf/mmdftailor.
/usr/adm/messages
/usr/adm/syslog
/usr/spool/lp/logs
/usr/tmp
Sponsored Links
    #10  
Old Unix and Linux 11-03-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
Entire case started with project for p2v migration of old SCO machines. One of the machines had entire directory tar'ed and then we had to deploy virtual one. OVF eventually was deployed, but after comparison of disk setup of Physical with Virtual I though that root partition should be extended, as physical one had 2GB of space more. That's why the question in that thread. Eventually I'v noticed that Physical one has only 4GB of space used so Virtual machine is fine, I just needed another partition, and that was easy task.

Then, having virtual machine deployed i started restoring backed up tar files and restoring them on virtual as it is. I was prepared for some configs to be modified (/etc/fstab, etc.). But it turned out that partition table got messed up, so I tried and tried. Eventually I'v got to the point I described, I've noticed that actually all important things are in /opt/{K,P}, so I've first tar'ed those directories on virtual machine, restored physical machine tars, and overwritten what I previously tared on virtual one. And that allowed me to boot the machine without one error during boot procedure. But I don't know if that's proper way to migrate (for sure not) and if all services that supposed to start started (I a assume no errors means something).

Maybe you already know better procedure for doing such migration in diy way, without use of enterprise software. If teams that will test it tell me that I doeasn't work as it should I'll start reading documentation for Backup/RestoreEDGE and other software that was posted here.

Still thanks for all help, and If you have more suggestions I will be glad to read them.

Last edited by goldenboy; 11-03-2016 at 10:16 AM.. Reason: typos
    #11  
Old Unix and Linux 11-03-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 June 2017, 8:58 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,938
Thanks: 2
Thanked 251 Times in 237 Posts
Try searching "vmware" within this forum.
http://www.unix.com/search.php?searchid=2411437
Sponsored Links
    #12  
Old Unix and Linux 11-04-2016
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 22 June 2017, 11:48 AM EDT
Location: Lancashire, UK
Posts: 3,137
Thanks: 1,316
Thanked 600 Times in 542 Posts
If you used tar to backup the entire system, you would need to put it back the data on a system with appropriate filesystems already mounted, that way tar will write them to the correct slice of disk.

If you are planning to restore everything and the backup was made with tar -cvf device / then you can only restore to the exact path. You will also need to make sure you don't overwrite OS critical files or your machine may not boot or fail to work properly.

Can you elaborate more on how you did the copy?

Again, Storix would be an excellent tool here (if it supports your OS version) and it would allow you to take a backup of your physical server that you can use to create a virtual server and update the disk allocations at the same time. It will help you go P2P, P2V, V2V & V2P.

I have to confirm that I have no financial interest in it, I just think it's a very good product. There are others available, but this one seems to do far more in a far more useful way. To be honest it exceeds what HP-UX's Ignite and AIX's mysysb do by adding in the ability to adjust various things (storage, network etc.) when you start the recovery. Take the free trial, watch the videos and choose for yourself.

Also have a look at the IBM view of it IBM - Storix System Backup Administrator (SBAdmin) for AIX



Kind regards,
Robin
(Never employed, contracted or bribed by Storix or IBM)
Sponsored Links
    #13  
Old Unix and Linux 11-07-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
I was not doing that copy by myself, my colleague did, the result is each directory under root has own tar file - /dev was excluded. He said that he used option to preserve file attributes.

At first I've extracted it as it was - hoping that it will work, as on Linux it would, but when I used 'scoadmin' to reconfigure network it didn't let me relink/recompile kernel because it couldn't find some devices. Also partition table was changed, so it seems that it keeps partition table in some file... it was really strange for me.

Eventually, I found that SCO keeps system specific files in those K and P folders so I did like this:
  1. tar /etc/ /usr/SCO/K,P on virtual server
  2. untar backup files (all subfolders of /) from physical server on virtual
  3. overwrite /etc /usr/SCO/K,P with tar file done in first step

Surprisingly after such operation relink of kernel was fine, and boot was fine also, I'm not sure if it works as on production if all services are fine.

The reason I did it that way, I thought that everything that was on physical one will be transferred but overwriting crucial directories with virtual machine default ones (those after installation) will solve the issue with drivers, partition setup, but still services in rc.d (transferred from physical) will be there and will be able to start and will have their configuration files.

So, It would be good to know if such procedure is reliable or if there are some directories that should be included in first step, so that files from new virtual machine are kept same as they were after the installation.

Last edited by rbatte1; 11-07-2016 at 10:43 AM.. Reason: Converted to formatted number-list
Sponsored Links
    #14  
Old Unix and Linux 11-07-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 June 2017, 8:58 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,938
Thanks: 2
Thanked 251 Times in 237 Posts
I would be inclined to do a fresh install in order to create the virtual system.
Install all the maintenance patches.
Install all the additional software.
Use 'ap' to transfer all the user accounts.
Use the following:

Code:
cd /usr/bin
ls -ltr |grep -v "@"
cd /bin
ls -ltr |grep -v "@"

This will list all the files in those two directories that are not part of the OS, and you can check the files that have dates significantly more recent that either the OS media date, or the original install date.
Copy the contents of /etc/rc?.d along with /usr/spool/cron/crontabs.
Assuming you are using SYSV printing and not CUPS, copy the contents of /usr/spool/lp/admins/lp/interfaces from the old system, after you have re-created all local printers on the new system.
Copy /etc/hosts, and /etc/resolv.conf from the old system.
If you use the same OS license on the new system, you will have to keep the systems on different tcp subnets, otherwise one of the systems will shut down.
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 02:33 PM.