- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extendfs - use of rlvol or lvol
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
05-11-2004 02:49 AM
05-11-2004 02:49 AM
extendfs - use of rlvol or lvol
I've just extended one of our filesystems as follows.
Shutdown to single user mode
/sbin/lvextend -L 700 /dev/vg00
/sbin/extendfs -F vxfs /dev/vg00/lvol6
init 3
What I had intended to type for the extendfs was /sbin/extendfs -F vxfs /dev/vg00/rlvol6
The command as type worked. The system booted and the extra space is present and usable in the mounted filesystem.
Can someone explain what the significance of the r in the extendfs command is and have I created any problems for myself that may come to light later.
Thanks
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 02:54 AM
05-11-2004 02:54 AM
Re: extendfs - use of rlvol or lvol
I've made the same mistake a few times some years ago but I've never run into trouble.
regards,
Bart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 03:39 AM
05-11-2004 03:39 AM
Re: extendfs - use of rlvol or lvol
When we execute the extendfs command it devides the raw devices into number of blocks with specific size e.g. 4k 8k etc. that are addressable and then it come under control of Meta Data Structure of the FileSystem.
Since you say you see the space extended it might have done the job anyway. But if you are still suspiciuos about the result better way is to cp /mountdir to /xyz. Umount the Filesystem and again repeat the procedure.
If you have that much space free then it's a matter of 1/2 an hour maximum. Restore back the /xyz to /mountdir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 06:12 AM
05-11-2004 06:12 AM
Re: extendfs - use of rlvol or lvol
bdf /tempspace
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvtempspace
1024000 1357 958735 0% /tempspace
umount /tempspace
lvextend -L 1032 /dev/vg00/lvtempspace
extendfs -F vxfs /dev/vg00/lvtempspace
mount /tempspace
bdf /tempspace
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvtempspace
1056768 1366 989447 0% /tempspace
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 04:18 PM
05-13-2004 04:18 PM
Re: extendfs - use of rlvol or lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 04:29 PM
05-13-2004 04:29 PM
Re: extendfs - use of rlvol or lvol
11i fully, heavily patched.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 11:12 PM
05-13-2004 11:12 PM
Re: extendfs - use of rlvol or lvol
When I tried the correct syntax after the first extendfs it failed as the was no space left on the logical volume (my understanding was that it had used it when I used the incorrect extendfs command) This was borne out by the bdf and the fact that the extra filestore was usable.
It seems as though other people (judging from the replies) have either made the same mistake or tried the extendfs and it's worked for them.
Unfortunately our unix admin retired and hasn't been replaced, so myself and a colleague (both DBA's) are trying to learn on the hoof. SO my understanding of the underlying architecture is sketchy. Can someone explain this raw device business please.
Many Thanks
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2004 01:11 AM
05-14-2004 01:11 AM
Re: extendfs - use of rlvol or lvol
http://docs.hp.com/hpux/onlinedocs/5187-2216/5187-2216.html
Go to section "Managing Disks and Files "
Main points about raw devices:
Any i/o to raw devices wont go through the system's internal buffer cache, whereas character devices will use it.
Management of them is harder.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 03:37 AM
06-01-2004 03:37 AM