GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: help with file system
Operating System - HP-UX
1843969
Members
2385
Online
110226
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-10-2003 12:52 PM
09-10-2003 12:52 PM
Hi,
We recently had 2 new 18 GB seagate drives installed in our k580. These drives are in the internal bays. The drives have been assigned to vg01 but are not currently assigned any logical volumes.
What I want to do on my system is the following: there are 2 other 18 GB disks assigned to vg01 with lvol3 having 3500 MB and lvol4 having 1300 MB. Both the file systems on these 2 logical volumes are mirrored and there is no space availble on the 2 original disks (1 mirror).
I want to extend both of those logical volumes by approximately 8.5 GB each to give me some more space for these 2 file systems.
My questions are:
1) can I use SAM to increase these two file systems and will this automatically re-mirror them, or do I have to use the lv commands and if so what is the proper procedure?
Thanks
Thanks
We recently had 2 new 18 GB seagate drives installed in our k580. These drives are in the internal bays. The drives have been assigned to vg01 but are not currently assigned any logical volumes.
What I want to do on my system is the following: there are 2 other 18 GB disks assigned to vg01 with lvol3 having 3500 MB and lvol4 having 1300 MB. Both the file systems on these 2 logical volumes are mirrored and there is no space availble on the 2 original disks (1 mirror).
I want to extend both of those logical volumes by approximately 8.5 GB each to give me some more space for these 2 file systems.
My questions are:
1) can I use SAM to increase these two file systems and will this automatically re-mirror them, or do I have to use the lv commands and if so what is the proper procedure?
Thanks
Thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 01:01 PM
09-10-2003 01:01 PM
Solution
You should be able to use SAM and the mirrors will be made automatically. You do need to make sure that the allocation policy for the logical volumes are "strict" so that you that the filesystem and mirror aren't on the same physical disk
However, the commands are not complex.
lvextend -L12000 /dev/vg01/lvol3
fsadm -b12000M /filesystem (assuming you have online jfs)
However, the commands are not complex.
lvextend -L12000 /dev/vg01/lvol3
fsadm -b12000M /filesystem (assuming you have online jfs)
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 01:05 PM
09-10-2003 01:05 PM
Re: help with file system
If you are using hpux 11i or 11.0, then SAM will mirror LVs. I think that on hpux-s previous to 11.0, SAM wasn't capable of mirroring.
I always use commands.
Here is a sequence to use commands to mirror existing LVs:
#
# There are two disks in vgXX, the LEFT disk and RIGHT disk.
# We will mirror from Left to Right.
# Assume that the Left disks are set up correctly!
#
cLEFT=c4t6d0 # 1/0/0/3/0.6.0
cRIGHT=c7t6d0 # 1/0/1/0/0/1/1.6.0
pvcreate /dev/rdsk/${cRIGHT}
vgextend vgXX /dev/dsk/${cRIGHT}
vgdisplay -v vgXX | grep "LV Name" | awk '{print $3}' | while read LV
do
lvextend -m 1 $LV /dev/dsk/${cRIGHT}
done
I always use commands.
Here is a sequence to use commands to mirror existing LVs:
#
# There are two disks in vgXX, the LEFT disk and RIGHT disk.
# We will mirror from Left to Right.
# Assume that the Left disks are set up correctly!
#
cLEFT=c4t6d0 # 1/0/0/3/0.6.0
cRIGHT=c7t6d0 # 1/0/1/0/0/1/1.6.0
pvcreate /dev/rdsk/${cRIGHT}
vgextend vgXX /dev/dsk/${cRIGHT}
vgdisplay -v vgXX | grep "LV Name" | awk '{print $3}' | while read LV
do
lvextend -m 1 $LV /dev/dsk/${cRIGHT}
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 01:36 PM
09-10-2003 01:36 PM
Re: help with file system
Sam will do it, but its better to use the command line.
Attaching my guide to the command line stuff.
The key advantage is that this lets you choose the mirror disk instead of relying on sam to pick.
SEP
Attaching my guide to the command line stuff.
The key advantage is that this lets you choose the mirror disk instead of relying on sam to pick.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP