copy lv scsi to san


 
Thread Tools Search this Thread
Operating Systems AIX copy lv scsi to san
# 1  
Old 04-16-2008
copy lv scsi to san

Hi All,

Regarding my migration of (multiple PV) scsi to san (single PV). I was able to copy lv from scsi to san.

The only problem is how can I remove the old lv/old fs to put up the new lv/ old fs. If I try to mount the new lv/old fs, it will have error "There is no plausible log device for /dev/lv ("fs"). I added the jfslog on the new lv, it's still the same error.

Is this possible?

Thanks in advance,
itik
# 2  
Old 04-16-2008
Actually, I can mount on smitty "Add a Journaled File System on a Previously Defined Logical Volume" but with another problem, "crfs: /fstest file system already exists". But I already remove the lv and fs. I can however change the fs which will make my server have errors.

How can I make the same fs name?
# 3  
Old 04-17-2008
Hm, why are you creating JFS file systems instead of JFS2? You could use an inline log then instead of the jfslog LV and avoid the problem you told about in the other thread.

Regardless if mounted or not the known filesystems are all listed in /etc/filesystems and this is the reasons why "crfs" (the command SMITty calls) will complain about the mountpoint already in use by another FS. AIX tries to warn you because you create a situation where you would possibly overmount a filesystem.

The solution is: create a temporary mount-path. If your VGs LVs are mounted like that:

/app1/lv1
/app1/lv2
/app1/lv1/lv3
etc. ...

create a temporary mountpath "/app-tmp" where you mirror the mounting structure of your old VG. Like that:

/app-tmp/lv1
/app-tmp/lv2
/app-tmp/lv1/lv3
etc. ...

You can then mount both /app1/* and /app-tmp/* and copy the static data while your application is running normally. Only then shut down the service, copy the rest of the data and umount the old LVs. Umount the new filesystems now, change the /etc/filesystems by reversing "/app-tmp" and "/app1" and mount the *new* LVs, now at /app1. Restart the application and you should be done.

If anything goes wrong you can immediately reverse the change again and by remounting switch back to the old data.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Faster way: SAN hd to SAN hd copying

hi! i got a rhel 6.3 host that already have an xfs filesystem mounted from a SAN (let's call it SAN-1) whose size is 9TB. i will be receiving another SAN (let's call it SAN-2) storage of 15TB size. this new addition is physically on another SAN storage. SAN-1 is on a Pillar storage while the new... (6 Replies)
Discussion started by: rino19ny
6 Replies

2. Solaris

How to make an exact image copy of a SCSI hard drive in Solaris 8 OS?

To Solaris 8 Experts, Please let me know what's the best method / procedure as well as the Solaris 8 commands for accomplishing the following tasks on a production Sun Enterprise 250 Server running Sun Solaris 8 Operating System: 1. Make an exact image/copy of the SCSI Hard Drive in the... (3 Replies)
Discussion started by: ssabet
3 Replies

3. AIX

IBM SAN TO SAN Mirroring

Has anyone tried SAN to SAN mirroring on IBM DS SAN Storage. DS5020 mentions Enhanced Remote Mirror to multi-LUN applications I wonder if Oracle High availibility can be setup using Remote Mirror option of SAN ? (1 Reply)
Discussion started by: filosophizer
1 Replies

4. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

Hello Everyone, Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX. Thanks in advance ! Regards, Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

5. UNIX for Dummies Questions & Answers

What is in-core copy and disk-copy of i-node table?

I have found a question from the exercises of my study mat. The question is "Why are there a in-core copy and a disk-copy of i-node block and super block?" If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies

6. AIX

IBM SAN Storage DS4700 - Copy Mirror Flashcopy

Hello, Does anyone know how to copy SAN Storage logical disks from IBM TotalStorage Software. I have a SAN Logical Disk of 200GB mounted on my AIX LPAR_1 via fibre channel fcs0 I would like to make an exact copy of the SAN Logical Disk from IBM totalStorage and mount it on AIX LPAR_2 ... (4 Replies)
Discussion started by: filosophizer
4 Replies

7. AIX

mirror external scsi to san

Hi, How do I mirror an external scsi vg to one hdisk san? The vg has multiple hdisks and the san hdisk has only one. Is this possible or do I need to create the same hdisks as the scsi? What I meant is, if the scsi vg has 10 hdisk then I need to create also 10 hdisk of san with the same... (6 Replies)
Discussion started by: itik
6 Replies

8. Solaris

Thoughts/experiences of SAN attaching V880 to EMC SAN

Hi everyone, I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN? At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies

9. UNIX for Advanced & Expert Users

Scsi

I would like to install a AIT drive to the scsi connector on our solaris box. I am very new to the unix world and would be greatful if someone could help or lead me in the right direction. Thanks (4 Replies)
Discussion started by: vpyle
4 Replies

10. UNIX for Advanced & Expert Users

Scsi

How can you get a scsi card to initalize or decome available at boot up on AIX 4.3 (1 Reply)
Discussion started by: truma1
1 Replies
Login or Register to Ask a Question