- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File system questions
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
07-28-2005 03:05 AM
07-28-2005 03:05 AM
File system questions
(sorry about the length of the post.)
I recently added disks to my disk array.
Now, I need to add the space to my system.
There are three things I am trying to achieve:
1 - Increase the allocated space of vg00 (free PE is already available)
2 - create a new vg
3 - add some space to an existing vg
Here are the steps that I am going to follow.
Can somebody confirm that I am not missing anything. Thanks
1 - Increase the space for vg00
->vgdisplay /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 1826
Free PE 2514
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Space available = 2514 * 8 M = 20 G
/sbin/umount /usr
/sbin/umount /tmp
/sbin/umount /opt
/sbin/lvextend -L 6000 /dev/vg00/lvol7
/sbin/lvextend -L 1000 /dev/vg00/lvol4
/sbin/lvextend -L 10000 /dev/vg00/lvol6
/sbin/extendfs /dev/vg00/rlvol7
/sbin/extendfs /dev/vg00/rlvol4
/sbin/extendfs /dev/vg00/rlvol6
mount /usr
mount /tmp
mount /opt
>> Do I need to be in single user mode for this?
2 - Create a new VG
create LUN's using Command View
ioscan - Find the Luns
insf -e - Create special device files
insf -e /dev/dsk/c4t2d2
pvcreate /dev/rdsk/c4t2d2
mkdir /dev/vg09
mknod /dev/vg09/group c 64 0x090000
vgcreate -s2 /dev/vg09 /dev/dsk/c4t2d2
vgdisplay /dev/vg09
lvcreate -L 10000 /dev/vg09
lvcreate -L 20000 /dev/vg09
newfs /dev/vg09/rvol1
newfs /dev/vg09/rvol2
mkdir /Informatics
mkdir /Archive_Dir
mount /dev/vg09/lvol1 /Informatics
mount /dev/vg09/lvol2 /Archive_Dir
3 - add some space to an existing vg
/sbin/unmount /var/oracle1
pvcreate /dev/rdsk/c4t2d4
vgextend /dev/vg07 /dev/dsk/c4t2d4
vgdisplay /dev/vg07
/sbin/lvextend -L 13000 /dev/vg07/lvol1
/sbin/extendfs /dev/vg07/lvol1
/sbin/mount /var/oracle1
Thanks
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 03:11 AM
07-28-2005 03:11 AM
Re: File system questions
Basically everything looks pretty good, but I'm reasonable certain you will have to boot into single user mode. It's just impossible to unmount /usr otherwise.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 03:20 AM
07-28-2005 03:20 AM
Re: File system questions
2) All you need is simply "insf" to create new device nodes. The "-F vxfs" aregument should be added to newfs.
3) If you have OnlineJFS then all you need is fsadm -F vxfs -b; no umounts and mounts.
If you don't have OnlineJFS then get it; no serious HP-UX box should leave home without it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 03:21 AM
07-28-2005 03:21 AM
Re: File system questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 03:22 AM
07-28-2005 03:22 AM
Re: File system questions
for question 2: There is no such command as
insf -e /dev/dsk/c4t2d2
you can use
insf -e
or
insf -H
insf actually creates the /dev/dsk/c4t2d2 device file. If it is already there, you can totally skip this step
also, after mounting them manually, don't forget to add them to your /etc/fstab otherwise they will not get automatically mounted at the next reboot
Question 3 does not need any help as you covered all the necessary steps.
Over all, since you seem to be running oracle, I'd suggest investing in a license for Online JFS. Makes life much easier by eliminating the need for unmounts and going down to single user modes for most purposes. Only things you will not be able to extend regardless you have online JFS or not are "/" and "/stand".
UNIX because I majored in cryptology...