- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Raw file system in logical volume
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
01-26-2005 09:37 PM
01-26-2005 09:37 PM
Raw file system in logical volume
How to create logical volume in hp unix system without file system i.e raw file system for some oracle based application.
Pls give me the correct command syntax for this one.
regards,
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:39 PM
01-26-2005 09:39 PM
Re: Raw file system in logical volume
The same as a normal filesystem, just skip the newfs command.
# lvcreate -L size_mb -n lvolx /dev/vgXX
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:44 PM
01-26-2005 09:44 PM
Re: Raw file system in logical volume
Don't use newfs command while creating a file system.
#lvcreate -L
the lvol created now is an raw file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:46 PM
01-26-2005 09:46 PM
Re: Raw file system in logical volume
if you then want to create dbs files for oracle you can use:
ln -s /dev/vgx/rlvolx /oradir/tablespace.dbs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:27 AM
01-27-2005 12:27 AM
Re: Raw file system in logical volume
II) How to create a Logical Volume (LV) and mount the filesystem.
1) Create the Logical Volume (LV)
lvcreate -L 120 -n lvhome /dev/vg01
Note: this will create a logical volume of 120 meg.
2) Create the filesystem
newfs -F vxfs /dev/vg01/rlvhome
Note: to create an hfs filesystem change vxfs to
hfs in the previous command.
3) Mount the Logical Volume:
a) mkdir /home
b) mount /dev/vg01/lvhome /home
Just skip the step 2 and 3...
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 08:18 PM
01-27-2005 08:18 PM
Re: Raw file system in logical volume
How to remove the raw file system.
regards,
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 08:31 PM
01-27-2005 08:31 PM
Re: Raw file system in logical volume
-- creation of a raw logical volume --
# lvcreate -L size_mb -n lvolx /dev/vgXX
-- remove of a raw logical volume --
# lvremove -f /dev/vgXX/lvolx
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 08:35 PM
01-27-2005 08:35 PM
Re: Raw file system in logical volume
Use the opposite command of lvcreate :
lvremove -f /dev/vg01/lvol1
But first make sure this is no longer in use by some database application.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 09:22 PM
01-27-2005 09:22 PM
Re: Raw file system in logical volume
V) How to remove a Logical Volume
Note: the following example is using the volume group vg01 and the
logical volume lvhome
1) Backup all user data
2) Umount the filesystem
umount /home
3) remove the Logical volume
lvremove /dev/vg01/lvhome
According to my previous mail;
just skip step 1&2 so the commad is;
lvremove /dev/vg01/lvhome
Using with "-f" option means;
Remove a logical volume without requiring user confirmation.
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 09:43 PM
01-27-2005 09:43 PM
Re: Raw file system in logical volume
E.g. lvcreate -n lvOra1 vg02
Regards,
Trond