- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Question about LVM/JFS versions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 01:55 PM
тАО03-17-2009 01:55 PM
I want to move a couple of LUNs in an active file system to different LUNs so I can rebuild the RAID-Array pack they are sitting on. I would be moving from 7GB LUNs to 7GB LUNs in the same XP512 disk array.
I read at some time in the past that the older version of OnLineJFS did not allow me to move LUNs in a vg while the file system is mounted and Oracle is accessing it, but a newer version did and I thought that new version was 3.5.
1. Is that statement true?
2. Does version 3.5 give that ability?
3. Is there a newer version I should consider?
4. What do I need to do to upgrade an older version file system to the newer version of JFS?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 06:59 PM
тАО03-17-2009 06:59 PM
Re: Question about LVM/JFS versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 11:20 PM
тАО03-17-2009 11:20 PM
Re: Question about LVM/JFS versions
>I read at some time in the past that the older version of OnLineJFS did not allow me to move LUNs in a vg while the file system is mounted and Oracle is accessing it,
If I'm understanding what you want to do correctly, this has nothing to do with the filesystem (JFS) and everything to do with LVM.
Never mind all the version info you provided, can you explain a little more what you mean here? You seem to be saying you are going to un-present some LUNs that are part of a VG with filesystems on it, and then present new equivalent LUNs from somewhere else... the *only* way to handle that online would be to add those new LUNs into the VG first and then use the LVM pvmove command to migrate the data off the old LUNs to the new LUNs before unpresenting the old LUNs. The constraint here is whether your VG limits will allow you to add all the new LUNs into the VG - you've already said you would be adding in new LUNs of the same size as the old ones, so you don't need to be concerned about the max PE per PV limit but for this you will need to look at Cur PV and Max PV values to make sure you can add LUNs to the VG.
So assuming you can do all this the taksks are basically:
i) Present new LUNs to server - use ioscan and insf to create device files
ii) pvcreate new LUNs and add into volume group with vgextend
iii) use the pvmove command to relocate extents off the old LUNs onto the new LUNs
iv) once you are happy all extents are moved off the old LUNs you can vgreduce them out of the VG
v) Once out of the VG you can un-present the LUNs from the host.
That's simplifying it a bit, and as I said you may have constraints around your current VG limits, or also around how you use the VGs (e.g. if you use distributed extent based striping), but this can work if the constraints are satisfied regardless of the filesystem running on the logical volumes
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:26 AM
тАО03-18-2009 01:26 AM
Re: Question about LVM/JFS versions
the way to go is the same:
1.Add the new disk to the vg
2.check the lvols that use the old disk:
pvdisplay -v oldisk
3.for each lvol do:
lvextend -m 1 /dev/vg/lvol newdisk
4. for each lvol do:
lvexetnd -m 0 /dev/vg/lvol olddisk
5. check your old disk has no pes in use:
pvdisplay -v oldisk
6. take the old disk out of the vg:
vgreduce /dev/vg olddisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 05:10 AM
тАО03-18-2009 05:10 AM
Re: Question about LVM/JFS versions
1. As far as I know my XP512 does not have the ability to move a LUN for me.
2. I am using MirrorDisk/UX and I have my lvols set with striping. PVMOVE uses mirroring to perform the move. The older version of JFS does not allow striping and mirroring. I was under the impression the "newer" version did which would allow me to use PVMOVE to move the LUN.
So back to my original question, which version of JFS allows striping and mirroring so I will be able to use PVMOVE to move the LUN?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 07:24 AM
тАО03-18-2009 07:24 AM
Re: Question about LVM/JFS versions
You're getting slightly confused here - JFS is the filesystem and has nothing to do with striping an mirroring. It's LVM that provides the striping and mirroring capability.
You are correct in that LVM in 11.11 support striping -or- mirroring on a logical volume but not both (although you were always able to get around this using extent based striping - are you sure you're not using that?)
On 11.23 if you have the correct patches installed (PHKL_36745 and PHCO_38717) then LVM does support striping and mirroring and its also supported on 11.31 (although you don't mention that you have that OS).
However I've never tried a pvmove or lvextend -m ... on a striped LV so, am not toally sure what the outcome would be.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 08:57 AM
тАО03-18-2009 08:57 AM
Re: Question about LVM/JFS versions
I had tried to do a pvmove in the past and was told by LVM that striping and mirroring is not allowed.
So does anyone know which version of LVM allows striping and mirroring?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 09:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 10:42 AM
тАО03-18-2009 10:42 AM
Re: Question about LVM/JFS versions
So to get where I need to be, I will have to do an OS upgrade first.
The HP-UX Wiki says the Sept 2004 version of 11.23 runs on PA-RISC. Is that correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 09:38 AM
тАО03-19-2009 09:38 AM
Re: Question about LVM/JFS versions
Again I must emphasise - just cos 11.23 supports striped mirrors doesn't mean that I've seen someone succesfully do what you are attempting (although it makes sense to me that this should work) - so if there's a way to test it first on your system thats already at 11.23 that would be better...
HTH
Duncan
I am an HPE Employee