2) Hdisk4 = 200MB = test2
pp size = 4MB
No logical volume
No Filesystem
No Log in the volume group
0. umount the filesystem to be copied
1. Create a new logical volume (lv) in the volume group to be copied to - in our case volume group : test2
logical volume name : lvcorenew
pps: should be same or more than the original logical volume which we have 20
2. Changed new lv to be type 'copy'
3. Run cplv to copy from original logical volume fslv02 to new logical volume lvcorenew
4. Create new jfs2log for the new logical volume
5. Format the new jfs2log
6. Modify the existing filesystem to use the newly copied lv
if the above doesn't work then
7. Mount the filesystem
or 8. Check the filesystem
Postscript
# chfs -a dev=/dev/lvcorenew -a log=/dev/logtest2 /usr/local/testv0
chfs: 0506-915 No record matching /usr/local/testv0 was found in /etc/filesystem s.
# chfs -a dev=/dev/lvcorenew -a log=/dev/logtest2 /testv0
# lsvg -l test1
test1:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv01 jfs2log 1 1 1 closed/syncd N/A
fslv02 jfs2 20 20 1 closed/syncd N/A
# lsvg -l test2
test2:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lvcorenew jfs2 25 25 1 closed/syncd /testv0
logtest2 jfs2log 2 2 1 closed/syncd N/A
#
Scenario 2: Different Filesystem name will be used to mount on the copied new logical volume ( will be posted by homeyjoe )
Last edited by filosophizer; 01-04-2011 at 08:31 AM..
Hi all,
currently , my root filesystem already reach 90 ++%
I already add more cylinder in the root partition as below
Part Tag Flag Cylinders Size Blocks
0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300
1 swap wu 1 - ... (11 Replies)
Hi all,
If i wanted to copy file within different folders or different servers, how do i determine the copied file is absolutely correct :confused:
Is it using cmp and chksum command enough?
Anyway that i can make further checking?
Thanks in advance for reading & anyone who reply the... (7 Replies)
I want to copy a folder and all its contents of ~700GB from a computer to another. I've tried sudo scp -r directory/ admin@host:directory but the result is that the copied folder is about 2GBs smaller than the original.
I checked the shell for errors and found some "file doesn't exist" errors.... (2 Replies)
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Hi guys!
Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both.
I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys.
Thanks! (4 Replies)
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)