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
07-03-2003 11:48 AM
07-03-2003 11:48 AM
LVM?
1.
lvcreate -L 100 -n lvol10 /dev/vg00
mount /dev/vg00/lvol10 /tets
2.
lvcreate -L 100 -n lvol10 /dev/vg00
newfs -F vxfs /dev/vg00/rlvol10
mount /dev/vg00/lvol10 /tets
And how can I see if a logical volume is raw evice?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 11:51 AM
07-03-2003 11:51 AM
Re: LVM?
After you create a logical volume you will have to create a filesystem on it using the newfs command.
Before creating the newfs command the filesystem is raw. After you execute the newfs command it gets cooked ....ready to use!!! After that you mount the filesystem.
HTH,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 11:58 AM
07-03-2003 11:58 AM
Re: LVM?
You can see in your newfs command , you are using 'r'lvol..rawlvol
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 12:06 PM
07-03-2003 12:06 PM
Re: LVM?
By definition, EVERY logical volume IS A RAW DEVICE; in fact, every LVOL is TWO raw devices - a character device rlvol10 which does not use the buffer cache and a block device lvol10 which uses the buffer cache.
The LVOL might also have a filesystem on it. Use bdf and swapinfo to see the LVOL's currently in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 12:20 PM
07-03-2003 12:20 PM
Re: LVM?
In the first case after create you couldn't
made the mount because it will return error
that no filesystem on the device.
If you use the device as a simple storage
then you have to create filesystem.
Caeasr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 12:54 PM
07-03-2003 12:54 PM
Re: LVM?
the newfs command followed by a mount command makes it a regular filesystem.
It doesn't have anything of use on it, but its a raw device.
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
07-03-2003 01:35 PM
07-03-2003 01:35 PM
Re: LVM?
Raw logical volumes are used by databases, and these could be any type. We use Informix (on some systems) and we have thousands of them, where a tables from the database are assigned to logical volume space. If you have a DBA, he/she could explain further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 06:14 PM
07-03-2003 06:14 PM
Re: LVM?
1. You have create a 100 MB logical volume which create 2 device files lvol10( block) and rlvol10( character or raw device). Both are raw device till now and are not ready for use.
When you execute the mount command, it will fail.
You can use this device without creating filesystem for some database like Informix. This device can be used for informix chunk.
2. Same as above but here you have created a filesystem and ready to mount and use it.
rlvol10 is a raw device even if you have a filesystem on lvol10.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 09:47 PM
07-03-2003 09:47 PM
Re: LVM?
The other replies have answered your first question regarding the difference between the two command sets, so I won't repeat this information.
For "how can I see if a logical volume is a raw device?", try:
$ fstyp /dev/vg00/lvolX
If the volume is raw (i.e. unformatted), you will receive the following output:
unknown_fstyp (no matches)
Hope this helps,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 12:45 AM
07-05-2003 12:45 AM
Re: LVM?
In 1 and 2 step there is one mejor difference is that in 1 step u not written filesystem and in 2 step u written file system
To access any logical u should write the file system
In 1st step without writting file system u try to mount
u wan't be able to accss that logical volume
If u want check the whether the file system written or not logical volume
use the fstyp