Sponsored Content
Operating Systems AIX Clone or mirror your AIX OS larger disk to smaller disk ? Post 302745797 by filosophizer on Tuesday 18th of December 2012 05:22:51 AM
Old 12-18-2012
[Solved] Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks,

I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space

Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as operating system has some lv which cannot be copied other than mirrorvg..

is there a way to make another smaller hdisk = 10GB have a copy of only the AIX operating system from the already existing hdisk which is 300GB ?

thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Upgrade Hard Disk to a larger one

Hello folks, I have a sun sparcstation 20, I would like to upgrade one of the hard disks to a larger one. The one I would like to upgrade only contains user data. Here are my thoughts: 1. Backup the specific file system 2. Replace the disk with the larger disk 3. Create a new file... (2 Replies)
Discussion started by: DLongan
2 Replies

2. UNIX Desktop Questions & Answers

How do I clone Solaris 7 disk

could anyone give me a general idea of how i may clone a 2 Gig disk running Solaris 7 on it to another disk of the same size? currently, this system only has one disk in it though. i do have the ability to hook up another disk via SCSI. i have been told i need to boot to "miniroot" to run... (9 Replies)
Discussion started by: obosha
9 Replies

3. Solaris

Upgrading To Larger Disk?

I have just been assigned the task of upgrading to a larger disk on a e250; however, I am use to working on Linux and x86 hardware. I would be very appreciative if someone could inform me on how this procedure can be done safely. To begin with, the e250 has a 18 Gig primary scsi disk and a 18... (3 Replies)
Discussion started by: cstovall
3 Replies

4. Filesystems, Disks and Memory

clone disk

Disk cloning I had an external SCSI master disk that I used to clone to an identical external SCSI disk because the other SCSI disk would become corrupted. My original Master became corrupted so I used one of the other to good disk to copy back to the master. Unfortunately the new master needs... (1 Reply)
Discussion started by: stamperr
1 Replies

5. Solaris

disk 2 disk mirror

Dear friends & gurus i have some servers running solaris 10 intel machines,they are in mirror disk 2 disk there is no any hardware RAID only software RAID and they are in remote place. 1) solaris 10 OS c0t0d0(Disk1) & cotod1(Disk2) in mirror (SVM) 2) i want to break the mirror 3) boot... (0 Replies)
Discussion started by: niru
0 Replies

6. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

7. UNIX for Advanced & Expert Users

Faster dd for disk clone

Guys can anyone tell how can we do faster disk cloning Below i found in google 1. dd if=/dev/sda of=/dev/sdb bs=4096 conv=noerror,sync So adding "conv=noerror,sync " makes it faster looks against not adding it 2. Enable write cache activated (hdparm -W1 /dev/sda) then run dd .. ... (2 Replies)
Discussion started by: heman96
2 Replies

8. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

9. AIX

Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x

Hello to all, Im having a new task in a new world (AIX - IBM Servers) I have an IBM Server (Type - 9111-285 very old one) with one Hard disk (73 GB 10 K) with AIX 5.x, and I need to clone the existing disk to another with the same specifications. Could you please give me some advice in order... (7 Replies)
Discussion started by: trevian3969
7 Replies
advfs_clonefset(3)					     Library Functions Manual						advfs_clonefset(3)

NAME
advfs_clonefset - Creates a read-only copy of an active fileset SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_clonefset( char *domain, char *fileset, char *clonename ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of original fileset. Specifies the name of the read-only clone fileset of the original fileset. DESCRIPTION
This function makes a read-only copy (clone) of an active fileset without taking the fileset off line. When you create a clone fileset, it is a read-only snapshot of fileset data structures (metadata). That is, when you clone a fileset only the structure of the original fileset is copied, not its data. As time goes by and as the files in the original fileset are modified, the file system copies the original pages to the clone fileset. In this way, the clone fileset preserves the contents of files as they were in the original fileset at the time you created the clone. You can form a fileset backup strategy by managing clone filesets without ever needing to take the original filesets off line. For exam- ple, you can determine when to unmount a clone, mount the clone on another mount point, and then use the vdump command to back it up. You can create new versions of a clone fileset, but you can maintain only one clone per fileset at a time. You can remove an existing clone fileset by using the advfs_rmfset function. NOTES
This function has features identical to the utility described in clonefset(8). RESTRICTIONS
This function only clones AdvFS filesets; it does not clone UFS file systems. The program that calls this function must be running with root privilege. A fileset must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space, and so on) and the / # : * ? characters are invalid for fileset names. Do not create a clone fileset if the available disk space for the file domain is less than 5 percent of the total. When a file domain runs out of disk space, the file system loses its ability to maintain the consistency of files within clone filesets. When the file system can no longer maintain consistency, it displays warning messages similar to the following on the user's terminal and to the console: WARNING: advfs cannot copy-on-write data to a clone file. WARNING: encountered the following error: ENO_MORE_BLKS (-1040) WARNING: do not continue using the clone fileset. WARNING: original file set: name=mnt, id=2c06a73f.00027192.00000001.8001 WARNING: clone file set: name=clone, id=2c06a73f.00027192.00000002.8002 WARNING: file id = 0000000a.8002 This message also appears in the /var/adm/syslog.dated/latest_boot_date/kern.log file. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: A valid AdvFS Advanced Utilities license is not installed. The calling program is not running with root privileges. The AdvFS lock for domain could not be acquired because one of the follow- ing operations was already running on the domain: balance, defragment, rmfset, or rmvol. The fileset you want to clone already has an existing clone. The name of the clone contains an invalid character or any of the parameters are NULL or set to . An I/O error occurred on one of the disks in the file domain. The name of the clone is longer than 31 characters. The file domain specified by the domain parameter does not exist. The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not enough memory available for the operation. There is not enough available space in the file domain to create a clone fileset. SEE ALSO
Commands: clonefset(8), mkfset(8), rmfset(8), showfsets(8) Functions: advfs_rmfset(3) advfs_clonefset(3)
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy