- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Alter capacity
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
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
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
тАО02-18-2004 01:58 AM
тАО02-18-2004 01:58 AM
Alter capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 02:24 AM
тАО02-18-2004 02:24 AM
Re: Alter capacity
what is the command which shows that to be true?
Command has not recognized from forum...Can you post it again?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 02:28 AM
тАО02-18-2004 02:28 AM
Re: Alter capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 02:33 AM
тАО02-18-2004 02:33 AM
Re: Alter capacity
could you run bdf command and post the result ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 12:18 PM
тАО02-19-2004 12:18 PM
Re: Alter capacity
If I understand your question.
When you create a Volume Group, via sam, It will set the volume group PE size to match your Hard Drive size.
If you create a Volume Group using a 2 gig hard drive. The System does not dynamiclly allocted PE past the 2 gig limit of your 2 gig Hard Drive. So, when you add a 9 or 18 gig drive to a Volume Group, with a small PE size, You will get an error message Telling it can't use all of the drives Disk space.
The trick is to set a large PE Size. When creating a Volume Group you have the option to set the PE to large number.
You can also create a Volume group using an 18 gig drive.(That way you will know how many PE it uses without calculating it). Then you can added smaller disks to the group. You can also migrate logical volumes from a large disk in your volume group to a smaller drive (space permiting ) and remove the Large disk from the volume group. Then you would be able to added disk 18,9,4 and 2 gig drives to the volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 12:56 PM
тАО02-19-2004 12:56 PM
Re: Alter capacity
There isn't a good way of doing it. With LVM, you will need to make sure you set the maxPE and PE Size that will allow only 2 GB PV (maxPE * PE Size = 2 GB) in that volume group.
For non-LVM disks, you can create a 2GB HFS filesystem on the disk by specifying the size
For ex.,
mkfs -F hfs /dev/rdsk/cxtydz 2048000
mount /dev/dsk/cxtydz /mount_point
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 01:28 AM
тАО02-20-2004 01:28 AM
Re: Alter capacity
kbytes used
/dev/vg00/lvol1 47829 14337
/dev/vg00/lvol3 83733 48401
/dev/vg00/lvol4 299157 946
/dev/vg00/lvol5 1994709 1220493
/dev/vg00/lvol6 30597 28
/dev/vg00/lvol7 510613 408853
/dev/vg00/lvol8 491869 350750
which has its full capacity in use.
We have a 9 Gig hard drive, which had been altered to act as a 2 Gig drive, leaving 7 Gig completely unusable. Someone said he could reset the drive to make all 9 Gig useable again, which he did by use, he said, of a ├в program├в . Would this be a firmware change?
We have used lvextend and extendfs to increase the capacity of filesystems, but the change I seek comes before ANY system is put on the disk or regardless of what is on the disk. This change may run a format of a sort. The SAM utility does not come into play.
We use what we call a ├в clone machine├в to copy one hard drive to another, for backup, restoration or testing. This machine will ├в see├в what the capacity of a disk is, regardless of what info is on the disk. This machine showed that the disk whose model number indicated 9 Gig was, in fact, only a 2 Gig, until after the ├в prog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 02:00 AM
тАО02-20-2004 02:00 AM
Re: Alter capacity
while including a disk in vg, you can use pvcreate -s "sizeofdisk" option. Disk will be treated as of the size that you used on pvcreate.
But later on if you want to use it to the full size, you will have to backup, then remove pv from vg, again do a pvcreate without -s and include it in vg.
Gurus, correct me if Iam wrong here.
Check man page of pvcreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 02:35 AM
тАО02-20-2004 02:35 AM
Re: Alter capacity
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 06:26 AM
тАО12-17-2004 06:26 AM
Re: Alter capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 06:47 AM
тАО12-17-2004 06:47 AM
Re: Alter capacity
Are you talking about filesystem of 2GB. I've never heard of apps that don't get installed on systems with hard disk more than 2GB. df -k output results in the size of filesystems and their current utilization. Maybe what you are trying to say that you need filesystems of 2GB or less.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 07:21 AM
тАО12-17-2004 07:21 AM
Re: Alter capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2004 07:54 AM
тАО12-17-2004 07:54 AM
Re: Alter capacity
How about creating a 2GB logical volume and let the app use the raw device for the lv rather than the reference to a physical disk.
instead of /dev/rdsk/cxtydz
use /dev/vgxx/rlvoly
here lvoly is a 2GB lv.
Hope this helps.
Regds