- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Managing FileSystems
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
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
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-16-2007 02:31 PM
тАО10-16-2007 02:31 PM
Managing FileSystems
1) Delete /u00
2) Modify /u01 from 10 GB size to 5 GB size
3) Create /u02 (new fs) of size 10 GB
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 02:43 PM
тАО10-16-2007 02:43 PM
Re: Managing FileSystems
You don't bother to indicate if you are running whole disks, LVM, or VxVM. You don't bother to indicate if you have OnlineJFS and yet you want exact steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 03:58 PM
тАО10-16-2007 03:58 PM
Re: Managing FileSystems
/dev/dsk/c0d0s3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 07:43 PM
тАО10-16-2007 07:43 PM
Re: Managing FileSystems
Do you have online JFS ?
1) Delete /u00
-> umount /u00
-> lvremove /dev/vgxx/lvolxx => refer to /u00
2) Modify /u01 from 10 GB size to 5 GB size
-> backup /u01 data
-> umount /01
-> lvreduce -L 5000 /dev/vgxx/lvolxx
3) Create /u02 (new fs) of size 10 GB
-> lvcreate -L 10000 /dev/vgxx/lvolxx
-> newfs /dev/vgxx/rlvolxx
-> mount /dev/vgxx/lvolxx /u02
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 07:54 PM
тАО10-16-2007 07:54 PM
Re: Managing FileSystems
#mount /dev/vgXX/lvolXX /u01
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 02:29 PM
тАО10-17-2007 02:29 PM
Re: Managing FileSystems
LVM is not being used by , will lvreduce/lvextend commands work on a such disks?
sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 02:44 PM
тАО10-17-2007 02:44 PM
Re: Managing FileSystems
given that you want a 5GB and a 10GB partition why not just reuse the ones you've got by unmounting the exiting filesystems and remounting them on the new mount points?
/u00 --> /u01
/u01 --> /u02
Don't forget to update the fstab.
Cheers,
Philip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 01:47 AM
тАО10-18-2007 01:47 AM
Re: Managing FileSystems
> I am sorry for providing incomplete info. I am not using any volume manager or veritas. They are the generic basis filesytems.
>
> /dev/dsk/c0d0s3
Since real disks don't come in 5GB and 10 GB sizes, I suspect you are using LVM. This can be verified by using the command:
bdf /u00 /u01 /u02
On the right will be the filesystem mountpoints and on the left will be the source disk. If you are using 'generic' disks then the source will start with /dev/dsk...
But if the left side shows something like /dev/vg01/.... then you are using logical volume manager (LVM). To be completely safe, backup any volume where you are making changes. Reducing a filesystem is almost always destructive.
Now the rest of the commands connot be accurately given because there is not enough information. Start by posting the following commands:
model
uname -r
bdf /u00 /u01 /u02
Bill Hassell, sysadmin