- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- filesystem for vg00
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
02-04-2003 04:10 PM
02-04-2003 04:10 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:18 PM
02-04-2003 04:18 PM
SolutionTechnically you can have any file system otherthan /, /stand and primaryswap on another volumegroup. However, I like to keep everything on the same disk just for maintenance simplicity. If at all you want to move, then consider moving /home,/opt,/tmp,/usr/,/var in that order.
You should have no problems with mirroring except that you have to do it selectively. During single user mode sessions, it will be painful if you can't get your /usr mounted for any reason.
It's just a maintenance thing.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:31 PM
02-04-2003 04:31 PM
Re: filesystem for vg00
to vg00 ?
1. add another disk into vg00
2. create new logical volume
for /home /tmp /opt?
3. and mount them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:33 PM
02-04-2003 04:33 PM
Re: filesystem for vg00
But in saying that I can see many instances where placing anything else onto different physical disks being a pain if they are on extenal disks. If you run into a maintenance problem it would be better to have everything in the one place.
It is not something I would do, but no, you wouldn't have any problems mirroring.
Where possible have all of the recommended logical volumes for the OS in /dev/vg00
/
primary
/stand
/usr
/tmp
/opt
/var
You can get away with having /home anywhere. We have /home on /dev/vg00 on production systems, but on other volume groups on dev servers, due to space hogging by developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:37 PM
02-04-2003 04:37 PM
Re: filesystem for vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:42 PM
02-04-2003 04:42 PM
Re: filesystem for vg00
If that is the case, you can add another disk to vg00.
#pvcreate /dev/rdsk/c1t0d2
#vgextend vg00 /dev/dsk/c1t0d2
#pvmove /dev/vg00/lvol4 /dev/dsk/c1t0d2
(say lvol4 is mounted as /opt)
Repeat the same for other logical volumes you mentioned.
If you have another disk (c2t0d2) in vg00, then you use lvextend command to mirror each logical volume onto the disk
#lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t0d2
Repeat for other lvols.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:47 PM
02-04-2003 04:47 PM
Re: filesystem for vg00
/opt stores additional softwares. Some of the daemons like rpcd, ifor, perfview daemons start from there. /tmp holds temporary files. /home is for user data. Do not ever use fuser to kill processes on /tmp and /opt. Take permission from your users to unmount /home. If you want to unmount /opt, you need to go into single user mode.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 04:55 PM
02-04-2003 04:55 PM
Re: filesystem for vg00
currently I have two vg..
vg00 has / /stand /var /usr
vg01 has /home /opt /tmp
i want to have /home /opt /tmp
on the same vg as vg00... how can accomplish this goal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:08 PM
02-04-2003 05:08 PM
Re: filesystem for vg00
Create each logical volume the same size as the one on the other volume group using lvcreate/lvextend
e.g.
Just before rebooting:
# lvcreate -n usr /dev/vg00
# lvextend -L 512 /dev/vg00/usr
# mkdir /newusr
# newfs -F vxfs /dev/vg00/rusr
# mount /dev/vg00/usr /newusr
# cd /usr
# find . -xdev | cpio -pdumv /newusr
repeat the function for each logical volume
Change the /etc/fstab to resemble the new logical volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:55 PM
02-04-2003 05:55 PM
Re: filesystem for vg00
You should be alright with /home, /opt and /tmp on vg01. Unless you have one big disk in vg00 that can hold all lvols on it, you do not need to do it.
If you insist, follow Michael's instructions.
If you are adding two extra disks (one primary and the other as mirror), you may want to selectively extend the lvols to primary (c0t0d1) and alternate disks (c1t0d1).
..
#lvextend -L 512 /dev/vg00/usr /dev/dsk/c0t0d1
#lvextend -m 1 /dev/vg00/usr /dev/dsk/c1t0d1
#mkdir /newusr
...
-Sri