- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Converting HFS to VxFS on 10.20
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
Forums
Discussions
Discussions
Discussions
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
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
11-05-2001 10:54 AM
11-05-2001 10:54 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 10:57 AM
11-05-2001 10:57 AM
SolutionNo easy way to convert from hfs to vxfs. You have to take complete data backup and then remove the hfs filesystems, create new vxfs filesystems, and then restore the data.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e204bd30776057de2/screen=ckiDisplayDocument?docId=200000048580810
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 11:01 AM
11-05-2001 11:01 AM
Re: Converting HFS to VxFS on 10.20
Here is a document explaining that in a bit more detail:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=2e827d17004305191d/screen=ckiDisplayDocument?docId=200000024625487
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 11:01 AM
11-05-2001 11:01 AM
Re: Converting HFS to VxFS on 10.20
Here are a few more helpful readings.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e204bd30776057de2/screen=ckiDisplayDocument?docId=200000024625487
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e204bd30776057de2/screen=ckiDisplayDocument?docId=200000007950942
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e204bd30776057de2/screen=ckiDisplayDocument?docId=200000050014306
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e204bd30776057de2/screen=ckiDisplayDocument?docId=400000000088267
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 11:06 AM
11-05-2001 11:06 AM
Re: Converting HFS to VxFS on 10.20
1) lvreduce -m 0 ..... So that you are no longer mirrored.
2) Create new VG and LVs on the disks that were your mirrors, creating your LVs as VxFS. Mount them with different dir name (append a .new to the dir. data.new for example)
3) Copy the data from the HFS to the VxFS LVs.
4) Unmount the HFS and VxFS LVs then remount the VxFS as the correct directory name.
5) vgextend the disks that were the HFS LVs into your new VG and then do an 'lvextend -m 1 ...' to recreate your mirrors.
The DB does have to be down when you are doing this. I would still recommend that you make a backup of your data, but if you do it this way, you shouldn't have to restore from tape, which is slow.
If you don't have it, I would also look at acquiring the Online/JFS product and use the 'mincache=direct,convosync=direct,nodatainlog,delaylog' options when mounting the VxFS LVs. These options usually increase performance even more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 11:11 AM
11-05-2001 11:11 AM
Re: Converting HFS to VxFS on 10.20
This should work. I assume that your mirrors are on separate physical disks.
Plan A) Fast but several steps
1) Backup
2) For each logical volume, do an lvreduce -m 0 /dev/vg0x/lvolx /dev/dsk/cXtYdZ making sure that you specify the same pv_path on each operation. We want to leave all the lvols on the original disk(s) and remove all the mirrors on the remaining disks.
3) Reduce the volume group, removing the mirror
pv_paths; vgreduce /dev/vg0x /dev/dsk/cXtYdZ; repeat as needed for the number of mirror pv_paths
4) For each mirror device do a pvcreate
pvcreate -f /dev/rdsk/cXtYdZ
5) Now create a new volume group using vgcreate after making the new /dev/vgxx directory and group file. Add the mirror disks to this new VG.
6) Create the new lvols and filesystems
7) mount the new filesystems using temporary mountpoints
8) Copy the old filesystems to the new using your weapon of choice, cpio -p, cp -R, ...
9) Unmount the old filesystems, unmount the new filesystems, remount the new filesystems with the old names
10) vgexport the old volume group
11) pvcreate the remaining old volume group disks.
12) vgextend the new volume group using the remaining old volume group disks
13) lvextend -m 1 the new LVOLS to re-establich mirroring.
Plan B): Slower but easier
1) backup
2) newfs on each LVOL
3) restore
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 11:29 AM
11-05-2001 11:29 AM
Re: Converting HFS to VxFS on 10.20
Make sure you have the
JFS product installed on
the box.
#swlist |grep -i jfs
Also make sure you have
the JFS product enabled
in the kernel
#grep vx /stand/system
-> should return vxbase
Plan for a downtime , time
depending on the size of the
database,
Shutdown oracle. Take backup.
Umount all filesystem related to oracle.
Do #newfs -F vxfs -b
{on all the lv's related
to the db filesystems).
#remount filesystems
#Restore the DB.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:12 AM
11-06-2001 06:12 AM
Re: Converting HFS to VxFS on 10.20
If you upgrade your 10.20 to 11.0 or 11i you have the new JFS 3.3 which allows you to convert hfs to jfs using vxfsconvert.
More info on:
http://devresource.hp.com/STK/impacts/i735.html
Regards,
Andr??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 07:53 PM
11-06-2001 07:53 PM
Re: Converting HFS to VxFS on 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 07:57 PM
11-06-2001 07:57 PM
Re: Converting HFS to VxFS on 10.20
backup system. blowaway HFS. Load the latest patches. create the filesystems, restore data.
live free or die
harry