- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shinking lv's
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
08-08-2006 03:33 AM
08-08-2006 03:33 AM
Shinking lv's
Thanks, in advance for all your help.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:38 AM
08-08-2006 03:38 AM
Re: Shinking lv's
Why do you want to increase / ???
To decrease the size of /usr and /var is not your problem.
You should place your data in other VG or at least in other LVOLS, but not in the / directly!
btw, you can't increase / "on the fly", because it must be contiguous.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:44 AM
08-08-2006 03:44 AM
Re: Shinking lv's
as a new unix person, you should NOT be messing around at this level. When the system was built, unless the defaults were changed, the partitions are sufficient for normal use. The / partition should be offlimit for any user files.
I would suggest reading more about UNIX, or getting on a course. Then use SAM initially, backed up by reviewing what SAM did in the background. If you can't use fbackup, how are you going to recover any serious fault?
There is a lot of damage that can be done with a little knowledge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:45 AM
08-08-2006 03:45 AM
Re: Shinking lv's
You can't increase / , /stand and primary swap on the fly. The PEs need to be contiguous.
To decrease other filesystems, make sure that you have online JFS installed with a vaild license then you can do following steps.
1. fsadm -b 1000M /var
2. lvreduce -L 1000M /var
Otherwise bring up system in single user mode and run lvreduce -L 1000M /var and then extendfs -F vxfs /dev/vg00/lvol5 assuming /var is lvol5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:46 AM
08-08-2006 03:46 AM
Re: Shinking lv's
I realize I should not put the data in / however, I want to make this machine a back up to another one. That machine is such a mess, Who ever set it up put a lot of user data under / I do not want to go moving things around, as there is a lot of links and it is very easy to break something. It is a very critical machine, and I can not afford to be down. However from what you are saying, it seems I could not add another disk drive and use that space for / anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:50 AM
08-08-2006 03:50 AM
Re: Shinking lv's
"Otherwise bring up system in single user mode and run lvreduce -L 1000M /var and then extendfs -F vxfs /dev/vg00/lvol5 assuming /var is lvol5."
1. lvreduce
2. extenfs
3. ???
Without online jfs a backup and restore is needed.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 03:54 AM
08-08-2006 03:54 AM
Re: Shinking lv's
you could only take a ignite backup and adjust the values while restoring.
But there is no need to do this.
Let's assume your data is in
/mydata
directly in root.
Why not create another VG with a large LVOL, mount it first to /mynewdata, move your data and then mount it to /mydata again.
This will solve your problem without re-install the OS, because all of your data will still be in /mydata.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 04:05 AM
08-08-2006 04:05 AM
Re: Shinking lv's
Not exactly sure what you are suggesting. I understand about making new mydata within a new vg, however, I don't understand about the remount step? Can I have two vg's mounted to the same point? Or are you suggesting I make a link from the origional mydata directory to the new mydata directory?
Thanks,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 04:18 AM
08-08-2006 04:18 AM
Re: Shinking lv's
Still assuming the data is in /mydata.
Backup all data in /mydata using tar, fbackup or whatever. Make sure your backup is working and fine. Delete /mydata. Create /mydata as your mount point and mount your /dev/my_new_vg/my_new_first_lvol_in_my_new_vg to it. Now restore the backup.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 04:24 AM
08-08-2006 04:24 AM
Re: Shinking lv's
my steps work only if /var is not used more than 500MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 04:25 AM
08-08-2006 04:25 AM
Re: Shinking lv's
my steps work only if /var is not used more than 500MB. Phil wanted to free up some space on /var.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 05:10 AM
08-08-2006 05:10 AM
Re: Shinking lv's
"my steps work only if /var is not used more than 500MB."
How do you prevent the data is lost in the truncated part of the lvol if there is no onlinejfs and you use lvreduce?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 05:34 AM
08-08-2006 05:34 AM
Re: Shinking lv's
As others have stated you cannot easily increase the / filesystem on a machine.
if on your source machine all the data under / is contained in a certain directory or could be copied into a certain directory on your target machine. Simply make a new filesystem on the target machine. and mount the filesystem to the directory you want.
example:
machine a
/data part of / contains all extra data needed to be on machine b
machine b
make /data its own filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 05:55 AM
08-08-2006 05:55 AM
Re: Shinking lv's
Phil