- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extending filestystems in single user mode
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
02-23-2006 08:01 AM
02-23-2006 08:01 AM
Please can someone advise how I can extend filesystems in single user mode?
The situation is that I cannot extend when in multiuser mode, fsadm hangs because oracle is mounted on these FS's.
I boot into single user mode and the lvextend command has already been done so I just need to fsadm it but i cannot mount:
mount /dev/vg04/lvol8 /opt/oracle/u14 from 50gb to 130gb.
So this fails, I was under the impression I should be able to fsadm in multiuser mode.
Please help .............
Ty Lawrenzo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:06 AM
02-23-2006 08:06 AM
Re: extending filestystems in single user mode
Since 'fsadm' is '/usr/sbin/fsadm' you need to mount '/usr' to use the command. The filesystem doesn't need to be mounted to use this command. When done, a clean startup method is to reboot again.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:07 AM
02-23-2006 08:07 AM
Re: extending filestystems in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:08 AM
02-23-2006 08:08 AM
Re: extending filestystems in single user mode
If you're in single user mode, however, you can simply "extendfs -F vxfs /dev/vg04/rlvol8"
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:09 AM
02-23-2006 08:09 AM
Re: extending filestystems in single user mode
In the single user mode, do
vgchange -a y /dev/vg00
mount /usr
NOw, u shud be able to perform fsadm and extend the filesystem.
rgds...Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:15 AM
02-23-2006 08:15 AM
Re: extending filestystems in single user mode
Did you stop Oracle and did you unmount the filesystem before you tried to enlarge the filesystem?
If you can't unmount a filesystem, check with 'fuser' which process is still using the filesystem. Then kill the process to be able to unmount the filesystem.
After doing an lvextend, just use the 'extendfs' command to increase the size of the filesystem as well. After that the filesystem should be able to mount.
If this still doesn't resolve your problem, please provide a bit more information. Any errors you're getting, etc...
Good luck,
Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:46 AM
02-23-2006 09:46 AM
Re: extending filestystems in single user mode
# fsadm -F vxfs -b 13614880 /opt/oracle/u14
fsadm: You don't have a license to run this program
# mount /dev/vg04/lvol8 /opt/oracle/u14
mount: /opt/oracle/u14: No such file or directory
# extendfs -F vxfs /dev/vg04/lvol8
vxfs extendfs: Cannot open /dev/vg04/lvol8: No such device or address
cannot open device /dev/vg04/lvol8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:58 AM
02-23-2006 09:58 AM
SolutionAnd your mount command is telling you that the directory you're trying to use as your mount point, /opt/oracle/u14, does not exist. If you're in single use mode and didn't mount /opt, then you need to do that if you had a u14 directory under /opt/oracle in multi-user mode. When booting to single-user mode, only / file system is mounted.
It's also usually necessary to use the "-F vxfs" on the mount command to be sure it knows what type of file system it's supposed to be mounting. By default, it assumes hfs if not specified, I think.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:00 AM
02-23-2006 10:00 AM
Re: extending filestystems in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:54 AM
02-23-2006 10:54 AM
Re: extending filestystems in single user mode
Thanks for all your help.