- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend file system (/opt) size
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
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
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
тАО06-10-2010 12:08 AM
тАО06-10-2010 12:08 AM
i need to extend my file system /opt size form 5Gb to 10 Gb when i use fsadm command i got folloing msg;-
bash-2.05# fsadm -F vxfs -b 10240 /opt
vxfs fsadm: V-3-23544: sectors must be >= 4359121 as they are currently in use.
as i have a internal disk with 33Gb size how can i use it to extend file system size.
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:56 AM
тАО06-10-2010 12:56 AM
Re: Extend file system (/opt) size
Remember , in fsadm , "-b" option takes the size in KB.
May I know what is 10240 ??? now your filesystem will reduce to 10MB aprox.
If you want to use 10 GB mention as -b 10485760
-b 10240M
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 02:09 AM
тАО06-10-2010 02:09 AM
Re: Extend file system (/opt) size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 02:13 AM
тАО06-10-2010 02:13 AM
Re: Extend file system (/opt) size
Mention that in that command. What happens then???
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 02:23 AM
тАО06-10-2010 02:23 AM
Re: Extend file system (/opt) size
/opt max size is ~5Gb only i want to add one of my free internal disk in so i use that space to increase file system size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 04:11 AM
тАО06-10-2010 04:11 AM
Re: Extend file system (/opt) size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 04:12 AM
тАО06-10-2010 04:12 AM
Re: Extend file system (/opt) size
What vgdisplay says for free PE ?
# vgdisplay -v vg00 | more
Look for the PE size AND Free PE (at bottom)
then calculate ( PE Size * Free PE ) to find realy have that space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 05:27 AM
тАО06-10-2010 05:27 AM
Re: Extend file system (/opt) size
use "M"
fsadm -b 10240M /opt
i hope this will solve your problem. assuming you have already done lvextend like below.
lvextend -L 10240
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 05:35 AM
тАО06-10-2010 05:35 AM
Re: Extend file system (/opt) size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 05:41 AM
тАО06-10-2010 05:41 AM
Re: Extend file system (/opt) size
after lvmcommand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 06:22 AM
тАО06-10-2010 06:22 AM
Re: Extend file system (/opt) size
lvextend and
#strings /etc/lvmtab
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 06:24 AM
тАО06-10-2010 06:24 AM
SolutionAlso I'm not sure what difference it makes with LVM commands but I usually do system admin tasks as root with the default posix shell.
pvdisplay /dev/dsk (or /dev/disk) to verify disk is not currently in use
pvcreate -f /dev/rdsk (/dev/rdisk)
vgextend /dev/vg00 /dev/dsk/
vgdisplay -v /dev/vg00 (ensure disk was added to vg properly)
lvextend -L 10240 /dev/vg00/lvol# (that corresponds to the lvol /opt is mounted on)
fsadm -F vxfs -b 10240M /opt
lvdisplay
bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 09:15 AM
тАО06-10-2010 09:15 AM
Re: Extend file system (/opt) size
don't use -f option to pvcreate unless recommended .use the tool like evainfo to find out the lun to be used.
suppose if ur not sure and made some mistake u will in a position to answer.
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 09:38 PM
тАО06-10-2010 09:38 PM
Re: Extend file system (/opt) size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 09:39 PM
тАО06-10-2010 09:39 PM