- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create a 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
10-30-2001 08:18 PM
10-30-2001 08:18 PM
Create a logical volume?
My company bought a C1800 HP workstation and have two hardisk. The first harddisk is 9GB. That is now problem for that. Now, I want to add another hardisk about 36GB and want to do "partition" in HPUX is known as create a logical volume in 10GB disk space for a logical volume.
So, 36GB will become 10GB, 10GB, 16GB.
How do I start, please help?
Thank you every much to all,
Peston.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:24 PM
10-30-2001 08:24 PM
Re: Create a logical volume?
>>pvcreate /dev/rdsk/cxtxdx (substitute your
disk)
>>mkdir /dev/vg01 (assuming you don't have one)
>>mknod /dev/vg01/group c 64 0x010000
>>vgcreate -p 128 /dev/vg01 /dev/dsk/cxtxdx
>>lvcreate -n xxxx (use name you wish)
>>lvextend -L 1024 /dev/vg01/xxxx
(substitute the size to what you like, this is
in Mb)
to mount it etc
>>mkdir /mountpoint
>>newfs -F vxfs /dev/vg01/rxxxx
>>mount /dev/vg01/xxxx /mountpoint
Edit your /etc/fstab file so that the filesystem
gets mounted next time you reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:43 PM
10-30-2001 08:43 PM
Re: Create a logical volume?
If all your disks are identified, run sam
and create logical volumes as you like.
~ Karvendhan M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:48 PM
10-30-2001 08:48 PM
Re: Create a logical volume?
yes have a look at your previous posting for
the answer. All you need to do is do an
'lvcreate -n xxxx /dev/vg01' for each volume
you wish to create and a
'lvextend -L 10240 /dev/vg01/xxxx'
(for a 10gb logical volume)
'lvextend -L 16384 /dev/vg01/xxxx'
(for a 16Gb logical volume)
generate the filesystems using 'newfs' and
mount them.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:48 PM
10-30-2001 08:48 PM
Re: Create a logical volume?
easily using sam , goto disk and file system
-> Volume group
you can extend existing VG or create new VG using new disk.
then create or extend logical volume using Logical volume menu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 10:04 PM
10-30-2001 10:04 PM
Re: Create a logical volume?
What does this mean 'xxxx' as you given here
lvcreate -n xxxx /dev/vg01?
How is difference pvcreate and lvcreate?
I really hit the pressure when this my first time hand-on experince to do a creat logical volume?
If I done wrongly, anyway to bring back normal?
Thanks a lot.
Peston.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 11:28 PM
10-30-2001 11:28 PM
Re: Create a logical volume?
The 'xxxx' part of the line was a name. You
can use any name you wish. I personally use
names relevant to what the lgical volume is
for. The 'pvcreate' command tells the disk
that it is to be used as an LVM disk. The
'lvcreate' command is used to name a
logical volume that will live on the disk.
The main difference is that you can have up
to 255 logical volumes in a volume group or
if there is one disk 255 logical partitions
on the one disk.
If you make a mistake is fairly easy to get
it back and start again. Hope that this
explains things.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 12:08 AM
10-31-2001 12:08 AM
Re: Create a logical volume?
do you initially really need the 10GB, 10GB & 16GB ??
It might be a good idea to start with smaller sizes, and leave some disk space unallocated. Later, when needed, you can increase the size of these logical volumes.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 05:19 AM
10-31-2001 05:19 AM
Re: Create a logical volume?
Of course, you can go ahead and allocate all the disk if you like. Just remember you won't have any free space to add to current LVs later or to add new LVs.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 05:34 AM
10-31-2001 05:34 AM
Re: Create a logical volume?
The I would recommend contacting an HP Education Centre to get onto the HP-UX Sys Admin course. This will help you to feel a lot more comfortable with the tasks you will be doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 05:49 AM
10-31-2001 05:49 AM
Re: Create a logical volume?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 08:36 AM
10-31-2001 08:36 AM
Re: Create a logical volume?
Refer to the hp manual for ux 11.0 "Managing Systems and workgroups"
here is a thread from that manual for your refrence.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&searchterms=LVM%20Procedures%20%20&queryid=20011031-083754
Hope this helps.
thanks