- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FS extension
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
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
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-04-2011 07:27 PM
11-04-2011 07:27 PM
Re: FS extension
xxxxx# lvdisplay /dev/vg04bwq/lv1
--- Logical volumes ---
LV Name /dev/vg04bwq/lv1
VG Name /dev/vg04bwq
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 677264
Current LE 42329
Allocated PE 42329
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
xxxxxx# vf gdisplay /dev/vg04bwq
--- Volume groups ---
VG Name /dev/vg04bwq
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 250
Cur PV 176
Act PV 176
Max PE per PV 1016
VGDA 352
PE Size (Mbytes) 16
Total PE 178816
Alloc PE 169316
Free PE 9500
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0
xxxxx# lvextend -L 748944 /dev/vg04bwq/lv1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg04bwq/lv1" could not be extended.
I have face this error.Due to PVG restriction policy.Luckily it was the free volume,so i did
xxxxx# lvreduce -L 677264 /dev/vg04bwq/lv1
When a logical volume is reduced useful data might get lost;
do you really want the command to proceed (y/n) : y
Logical volume "/dev/vg04bwq/lv1" has been successfully reduced.
xxxxx# vgreduce -l /dev/vg04bwq /dev/dsk/c46t6d1 /dev/dsk/c47t6d1
Device file path "/dev/dsk/c46t6d1" is an primary link.
Removing primary link and switching to an alternate link.
Device file path "/dev/dsk/c47t6d1" is an alternate path.
Volume group "/dev/vg04bwq" has been successfully reduced.
Volume Group configuration for /dev/vg04bwq has been saved in /etc/lvmconf/vg04bwq.conf
xxxxxx#vgextend -g pvg _vg04bwq_ /dev/vg04bwq /dev/dsk/c46t6d1 /dev/dsk/c47t6d1
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (1049).
Using only 1016 PEs from this physical volume.
Volume group "/dev/vg04bwq" has been successfully extended.
Physical volume group "pvg_vg04bwq_" has been successfully extended.
Volume Group configuration for /dev/vg04bwq has been saved in /etc/lvmconf/vg04bwq.conf
xxxxxx# VG vgdisplay /dev/vg04bwq
--- Volume groups ---
VG Name /dev/vg04bwq
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 250
Cur PV 188
Act PV 188
Max PE per PV 1016
VGDA 376
PE Size (Mbytes) 16
Total PE 191008
Alloc PE 169316
Free PE 21692
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
xxxxx# lvextend -L 747264 /dev/vg04bwq/lv1
Logical volume "/dev/vg04bwq/lv1" has been successfully extended.
Volume Group configuration for /dev/vg04bwq has been saved in /etc/lvmconf/vg04bwq.conf
xxxxx# fsadm -F vxfs -b 747264M /oracle/BWQ/sapdata1
vxfs fsadm: /dev/vg04bwq/rlv1 is currently 693518336 sectors - size will be increased
It worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2011 07:29 PM
11-04-2011 07:29 PM
Re: FS extension
- « Previous
-
- 1
- 2
- Next »