- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: More space in File System
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
11-05-2007 12:37 AM
11-05-2007 12:37 AM
More space in File System
I need put more space in the file system, and rename other file system, how make this ?
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 12:43 AM
11-05-2007 12:43 AM
Re: More space in File System
which filesystem do you need to add more space to?
what filesystem are you attempting to "rename" (from what -> to what?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 12:48 AM
11-05-2007 12:48 AM
Re: More space in File System
mv file-system name file-system name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 01:00 AM
11-05-2007 01:00 AM
Re: More space in File System
To grow the filesystem, if you have OnlineJFS you could done online with fsadm. If you don't have it, then you need to umount the filesystem and resize it.
With OnlineJFS:
lvextend -L SizeInMB /dev/vgxx/lvolxx
fsadm -b SizeInKB /dev/vgxx/rlvolxx
Without OnlineJFS:
umount /xxxx
lvextend -L SizeInMB /dev/vgxx/lvolxx
extendfs -F vxfs /dev/vgxx/rlvolxx
mount /xxxx (if the mount point exists in /etc/fstab)
To rename a mount point, you need to umount the filesystem before rename it.
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 01:07 AM
11-05-2007 01:07 AM
Re: More space in File System
Rename a file system?
umount it
update /etc/fstab with what you want it to be.
mkdir the new path.
mount it.
lvextend and fsadm are the commands you need
to increase size of a file system.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 01:19 AM
11-05-2007 01:19 AM
Re: More space in File System
you should have continued your old thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1174871
but ok.
First - rename file system: do you want another name for a directory with a mounted file system - for example /dev/vg00/lvol4 mounted to /tmp ?
Check your /etc/fstab - in this case:
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
Create a /tmp_tmp then change the line in /etc/fstab: /tmp to /tmp_tmp - then reboot.
After reboot you can (ok you could) remove /tmp (but /tmp is in hp-ux still needed, so it was only an example!)
To extend a logical volume you need to know if you have free disk space:
'vgdisplay /dev/vg
Under 'Free PE' you see the numbers of free PE blocks.
The simplest would be to go into single user mode, then:
'lvextend -L
(for the example /tmp !)
'umount /dev/vg00/lvol4'
'extendfs /dev/vg00/lvol4'
'mount -a'
Choose for '4' the number you want, but you can't extend lvol1 (/stand), lvol2 (swap) or lvol3 (/). For this you better use ignite - see the threads already asked here in the forum.
For more help we would need more informations!
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 08:44 AM
11-05-2007 08:44 AM
Re: More space in File System
i put the command :
umount /dev/fs
lvextend -L 2000 /dev/fs
this messages is is not bigger ...
i need extend in 2gb this fs
please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 08:49 AM
11-05-2007 08:49 AM
Re: More space in File System
this messages is is not bigger ..."
2000 will be the new size (total) of the file system (it is not adding 2000 to the existing size). if, for example, you have 1000 and you want to add 2000, then:
lvextend -L 3000 /dev/fs
"man lvextend" for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 08:51 AM
11-05-2007 08:51 AM
Re: More space in File System
lvextend -L 2048 /dev/vgXX/lvolXX
that will make it 2 GB in size
lvextend -L 4096 /dev/vgXX/lvolXX
That will make it 4 GB in size.
Then just run
extendfs /dev/vgXX/rlvolXX
man extendfs will tell you how as well.
Tip: use a calculator to figure out your sizes...
16 X 1024 = 16384 = 16GB
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 08:18 PM
11-05-2007 08:18 PM
Re: More space in File System
you have to extend 'the logiacl volume'
So you know (or have to look in /etc/fstab with 'more /etc/fstab') to which logical volume you directory /dev/fs was mounted.
Geoff has given you the syntax how it should look like - /dev/vgXX/lvolXX .
Do a 'man lvextend' and 'man extendfs' to learn more about this!
Volkmar