- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help Lvextend
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
Forums
Discussions
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
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
07-18-2008 01:02 PM
07-18-2008 01:02 PM
Help Lvextend
Please help me for the following case.
I have HP UX Production server of version B 11.11.U and i have to extend LV /dev/lathprd/lvol13 to 45 GB which is mounted on /oracle/PRD and 96% full.
I don't have online JFS install.
These are more details:--
(a)#vgdisplay
pe size :8
free pe:10841 so
free size:86728 mb(confirmation)
vg having 84 Gb free space.
(b) LV Name /dev/lathprd/lvol13
LV Status available/syncd
LV Size (Mbytes) 523440
Current LE 65430
Allocated PE 65430
Used PV 3
Due to maximum value of LE--65535 , i can extend upto 840 mb, so i am trying for following steps .please advise me for any changes.
1)Creating new lv of 47 Gb and mount point is /oracle/PRD/sapdata5_new
2)#newfs -F vxfs -b 8192 -o largefiles /dev/lathprd/rlv
3)In /oracle/PRD thier is sapdata5(oracle/PRD/sapdata5) of 42 GB size. so i am trying to make it free after copy the data to mount point(oracle/PRD/sapdata5_new) of new FS.
cd /oracle/PRD and ls -l, it show sapdata5 size in byte is 8192.
After checking
#cp -R -p /oracle/PRD/sapdata5/* /oracle/PRD/sapdata5_new
3)Renaming /oracle/PRD/sapdata5 to /oracle/PRD/sapdata5_old
4)Renaming /oracle/PRD/sapdata5_new to /oracle/PRD/sapdata5 and making changes mount point in /etc/fstab.
5)After copying ,i will check all permission and all data , then /oracle/PRD/sapdata5_old will move to other path, so that /oracle/PRD get free of 42 GB.
6)But on /oracle/PRD thier are SAP application of version 6.. will it affect from oracle and SAP side?
7)Is this is right way to resolve this?
8) I tested the same case in testing server,it look fine.
9)But after cd /oraclr/PRD and long listing (ls -l) , it show the sapdata5 with size in byte 96. (I already created the FS with 8192 block size)
10)I think so this size should be 8192 so that it will not create any issue from SAP side.
11)last time during this activity, after cd /oracle/PRD and long listing it size in byte was 96 because of which SAP was down for long time.
12)can we changr PE size from 8 to 32 using vgmodify, i have HP version B 11.11.U.
13)IS there is any other solution.
_
kindly suggest me for this plan..
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2008 11:24 PM
07-18-2008 11:24 PM
Re: Help Lvextend
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
You can change PE size only during creating
new vg. The only way is:
1. backup your data.
2. remove vg
3. Create new vg with new PE size. You should create a new VG with -s 32.
4. restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2008 11:39 PM
07-18-2008 11:39 PM
Re: Help Lvextend
Here is Example who U can increase Ur lvol without OnlineJFS...
Increase the size of a logical volume from xxx MB to yyy MB:
# lvextend -L yyy /dev/vg01/lvol1 (yyy = size of the new logical volume size in MB)
# umount /mountdir
# extendfs -F vxfs /dev/vg01/rlvol1
# mount /dev/vg01/lvol1 /mountdir
BR/
Yaqub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2008 02:25 AM
07-19-2008 02:25 AM
Re: Help Lvextend
I would rather go for a different approach.
1) Take Tape backup using fbackup of the direcotries (Make sure you do this activity as a superuser).
2) Restore the backup using frecover on newfs and verify the contents after changing the ownership and permission. (Since you are restoring the backup as root so ownership will get changed).
I think this will be more safer way of going ahead. You could take ll -R o/p before and after task , to verify the restore.
fbackup and frecover format could be something like below:
Make sure that these commands are executed from the directory where backup/ restore to be done.
nohup fbackup -f /dev/rmt/0m -v -i ./ >
nohup /usr/sbin/frecover -v -O -f /dev/rmt/0m -r >
vgmodify is not available in 11.11. Its available from 11.23 onwards (11.23 patch is required, 11.31 it comes by default).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2008 10:27 AM
07-19-2008 10:27 AM
Re: Help Lvextend
vgmodify became a supported part of hpux at 11.23