- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: convert vxfs to raw
Operating System - HP-UX
1753753
Members
5359
Online
108799
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
Discussions
Discussions
Forums
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
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
тАО11-20-2010 11:52 PM
тАО11-20-2010 11:52 PM
convert vxfs to raw
hi,
i have 14 lvols with vxfs filesystem in the same VG. i need some raw space. can i remove some lvols and use it as a raw space?? i know only lvremove cant help me. how can i use lovls as raw space?
plz help.
Regards/Morshed.
i have 14 lvols with vxfs filesystem in the same VG. i need some raw space. can i remove some lvols and use it as a raw space?? i know only lvremove cant help me. how can i use lovls as raw space?
plz help.
Regards/Morshed.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2010 12:41 AM
тАО11-21-2010 12:41 AM
Re: convert vxfs to raw
Hi,
Let me give you a very simple answer. When the lv was created you obvioulsy executed a newfs which creates the inode table, superblocks and allocation units. After unmounting the file systems in the lv that requires space, remove the lv and recreate it as it is newfs that creates the file structures that you don't want. So don't do a newfs. That's your raw space. Else you will have to destroy the superblocks, inodes , intent log and allocation units specific to the filesystem. So, remove and recreate!! If it helps, don't forget to assign points.
Let me give you a very simple answer. When the lv was created you obvioulsy executed a newfs which creates the inode table, superblocks and allocation units. After unmounting the file systems in the lv that requires space, remove the lv and recreate it as it is newfs that creates the file structures that you don't want. So don't do a newfs. That's your raw space. Else you will have to destroy the superblocks, inodes , intent log and allocation units specific to the filesystem. So, remove and recreate!! If it helps, don't forget to assign points.
Read, read and read... Then read again until you read "between the lines".....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 09:48 PM
тАО11-23-2010 09:48 PM
Re: convert vxfs to raw
Hi Ismail,
i think this procedure will not work.file system will remain there.
Regards,
Morshed.
i think this procedure will not work.file system will remain there.
Regards,
Morshed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 10:28 PM
тАО11-23-2010 10:28 PM
Re: convert vxfs to raw
Morshed,
Anyways...
umount /mohammed
lvremove -f /dev/vg01/lvol1
At this point only the mount point /mohammed will be present and nothing else.
An ls -l /mohammed will not display anything only mount point will remain!.
Remove mount point
Recreate - lvcreate -L 16 -n mohammed vg01
When you do this it will recreate the logical volume. Now, where is the filesystem or any of it's superblocks or inode table for that matter when there are no files here or even a mount point associated with it. This is your raw space. :)
Regards
Anyways...
umount /mohammed
lvremove -f /dev/vg01/lvol1
At this point only the mount point /mohammed will be present and nothing else.
An ls -l /mohammed will not display anything only mount point will remain!.
Remove mount point
Recreate - lvcreate -L 16 -n mohammed vg01
When you do this it will recreate the logical volume. Now, where is the filesystem or any of it's superblocks or inode table for that matter when there are no files here or even a mount point associated with it. This is your raw space. :)
Regards
Read, read and read... Then read again until you read "between the lines".....
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP