HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fsadm option
Operating System - HP-UX
1833845
Members
2101
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-26-2003 01:07 PM
03-26-2003 01:07 PM
fsadm option
with onlineJFS I have to enlarge the filesystem /xxx
I know that the command is fsadm -options /mountpoint
But at the creation I used the option -c to specify contiguos PE.
Do you know some way to cancel the -c option?
Thanks
I know that the command is fsadm -options /mountpoint
But at the creation I used the option -c to specify contiguos PE.
Do you know some way to cancel the -c option?
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 01:12 PM
03-26-2003 01:12 PM
Re: fsadm option
Hi:
You can use 'lvchange -C n' to change the contiguous allocation policy.
Regards!
...JRF...
You can use 'lvchange -C n' to change the contiguous allocation policy.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 01:15 PM
03-26-2003 01:15 PM
Re: fsadm option
Hi Lorenzo,
That is an LV policy.
Not sure if it can be done, but try
lvchange -C n /dev/vg_name/lv_name
Note that's a Cap C. Lower case c is mirror consistency.
May not be able to do this - not sure because I've never tried. I KNOW you can't change root, swap or dump. But you *might* be able to change a "normal" LV.
HTH,
Jeff
That is an LV policy.
Not sure if it can be done, but try
lvchange -C n /dev/vg_name/lv_name
Note that's a Cap C. Lower case c is mirror consistency.
May not be able to do this - not sure because I've never tried. I KNOW you can't change root, swap or dump. But you *might* be able to change a "normal" LV.
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 01:35 PM
03-26-2003 01:35 PM
Re: fsadm option
To extend the filesystem on the fly, (let's say /opt):
a. Must be type "vxfs" in /etc/fstab:
/dev/vg00/lvol4 /opt vxfs delaylog 0 2
b. How big is it now:
cd /opt
bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 2048000 2025496 22504 99% /opt
c. How big do we want it?
2 GB -> 2.5 GB
d. Must have sufficient space on Volume Group:
vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4005
VGDA 2
PE Size (Mbytes) 4 <--
Total PE 4005 |
Alloc PE 2169 | 4 x 1836 = 7.3 GB
Free PE 1836 <--
Total PVG 0
e. What does the LV look like?
lvdisplay /dev/vg00/lvol4
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
4. EXTEND THE LOGICAL VOLUME
lvextend -L 2500 /dev/vg00/lvol4
^
|-- lv_size
5. EXTEND THE FILE SYSTEM
a. Calculate the for the fsadm command:
fsadm -b /opt
b. is new number of "blocks" required:
newsize = lv_size x 1024
2500 x 1024 = 2560000
c. fsadm -b 2560000 /opt
Or:
d. fsadm -b 2500m /opt
a. Must be type "vxfs" in /etc/fstab:
/dev/vg00/lvol4 /opt vxfs delaylog 0 2
b. How big is it now:
cd /opt
bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 2048000 2025496 22504 99% /opt
c. How big do we want it?
2 GB -> 2.5 GB
d. Must have sufficient space on Volume Group:
vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4005
VGDA 2
PE Size (Mbytes) 4 <--
Total PE 4005 |
Alloc PE 2169 | 4 x 1836 = 7.3 GB
Free PE 1836 <--
Total PVG 0
e. What does the LV look like?
lvdisplay /dev/vg00/lvol4
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
4. EXTEND THE LOGICAL VOLUME
lvextend -L 2500 /dev/vg00/lvol4
^
|-- lv_size
5. EXTEND THE FILE SYSTEM
a. Calculate the
fsadm -b
b.
newsize = lv_size x 1024
2500 x 1024 = 2560000
c. fsadm -b 2560000 /opt
Or:
d. fsadm -b 2500m /opt
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP