LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 09-29-2005, 11:32 PM   #1
tekmeister
LQ Newbie
 
Registered: Sep 2005
Location: Phoenix, AZ
Posts: 3

Rep: Reputation: 0
Need basic disk copy routine for AIX 3


I'm using AIX 3 on IBM PowerStation 520's in a couple of flight simulators where I work. I recently upgraded our disk systems from three 355Mb disks to single 2GB flashdisks. The disk backup utility provided by the manufacturer will only copy 355Mb disks.

I need a basic disk copy routine that will duplicate any size drives. Is there something available for AIX 3? There's no chance my employer will upgrade the OS as it would cost almost $1,000,000 per system due to the need to rewrite all the specialized utilities to work with the new OS. Can it be done using only basic commands? It would be nice if files were concatenated (defragged) during the copy process.

Any tips or help would be appreciated.

tekmeister
 
Old 10-02-2005, 05:28 AM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
If you have a tape drive handy, then mksysb would be the easiest thing.

Another option, if you can convice someone to spend the money, is to get an older machine (F50, H70, H80, M80, etc.) and set up an NIM Master server. It could back up your machines remotely and store an image that can be restored in apprx. 20 minutes, if needed.

I'm sure others can come up with some ideas.
 
Old 10-02-2005, 06:09 AM   #3
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Have you tried dd? That's great for duping disks, especially if you crank up the block size (to seversl MBs).
 
Old 10-23-2005, 07:41 PM   #4
tekmeister
LQ Newbie
 
Registered: Sep 2005
Location: Phoenix, AZ
Posts: 3

Original Poster
Rep: Reputation: 0
Question

Thanks LooseCannon - I have tried mksysb but when I try to restore from the tape, the volume groups are not automatically set up again. The restore utility give me the opportunity the manually set up the VG's, but I don't have a clue how to do it. Nothing is discussed in the massive AIX manuals I have either. Any suggestions of what the syntax would be to recreate the VG's during the restore? Please remember I'm using AIX 3 (unfortunately).

Thanks for the help,

Ron
 
Old 10-23-2005, 07:42 PM   #5
tekmeister
LQ Newbie
 
Registered: Sep 2005
Location: Phoenix, AZ
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanks for the tip Eddie - I think I tried this some time ago, but I don;t recall the outcome. I'll try again and let you know!

Thanks,
Ron
 
Old 11-03-2005, 04:04 PM   #6
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
for the script :
type
lsvg -L vgxx >/tmp/lvg_L.log
lsvg -p vgxx >/tmp/lsvg_p.log
lspv, lslv, ...so on
inspire you from your log file to generate a script who make your VG, LV and FS.
Add at the end of this script, the restor command from your mksysb. The command for restor your mksysb can be obtained in the help of the smit(ty) or in the manual.
This is the manner we use for our restor' test plan in our enterprise.
You can use dd on nfs to copy your entire disk to a system which can save and restor your disk.........., like a linux box.
For less than 500$ your can do it.
Compare 500$ and 1,000,000.00 $.
Linux is your freind, because it's the little brother of all unix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
steps to adding disk in aix 5.2 papajohns AIX 5 08-03-2004 04:00 PM
copy linux installation from old disk to new disk rmanocha Linux - Software 4 07-20-2004 06:21 AM
Adding a disk to 7044 170 AIX 5.2 gmccormack AIX 2 05-20-2004 03:21 PM
Disk Surface Scan Routine - Quickie! Svha Linux - Hardware 2 08-08-2003 02:01 PM
Basic question: how do I copy from floppy to Linux Richard_W Linux - Newbie 2 10-08-2002 07:50 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration