System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add new hard drives in server

 
SOLVED
Go to solution
Zishan
Regular Advisor

How to Add new hard drives in server

Hello All,
We are using HP-Ux V2 on HP Integrity server. Now we have space issue and want to add 4 new hard drives into our server. Please guide me step by step that how can I congifure and use these hard drives.eg:
1- How I need to create volume group
2- How to create paritions

Any help would be appreciated.

Regards,
7 REPLIES
madhuchakkaravarthy
Trusted Contributor

Re: How to Add new hard drives in server

hi


u need to add it from storage.

what is the storage u r using.

regards

MC
madhuchakkaravarthy
Trusted Contributor
Solution

Re: How to Add new hard drives in server

present the disk of required size from storage

1.insf -e
2.ll /dev/*group
3.mknod /dev/xxx/group c 64 minorno ( from the output from step 2 )
4.pvcreate /dev/rdsk/cxtydz
5.vgcreate -s 32 /dev/vgname /dev/dsk/cxtydz
6.lvcreate -n xxx -L size vgname
7.lvextend -L size /dev/vgname/lvname
8.newfs -F vxfs -o largefiles vgname/rlvname
r ---- raw volume
9.mkdir mountpoint
10. change ownership and permission as needed
11.mount lvname /mountpoint in fstab

regards

MC
madhuchakkaravarthy
Trusted Contributor

Re: How to Add new hard drives in server

I have assigned points to 22 of 133 responses to my questions.



assign points to those who helps ur work.

regards

MC
Arockiasamy
Advisor

Re: How to Add new hard drives in server

I'll mention u a book .

U just download the book.

Its friendly & see the fully.

U can become a master in LVM.

http://www.4shared.com/document/S3Y6ko_E/LVM.html
Sajith P V
Advisor

Re: How to Add new hard drives in server

Hi,

1. add new disks to the server
2.do ioscan to findout the newly added disks
3. insf -eCdisk to create device file
4. pvcreate (eg. pvcreate /dev/rdsk/disk5)
5. create VG
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x0n0000
the minor number should be unique
use ll /dev/*/group to findout the exixting groupfile minor numbers
vgcreate /dev/vgname /dev/dsk/diskname.


Esmayatin Edris Ampu-an
Occasional Advisor

Re: How to Add new hard drives in server

Hello Zishan,

I think you are new to this stuff.

I recommend these steps.

How to add Hard drives in server.if this is not a SAN setup. if you have free local disk slots, then you will insert in those slots.

if your intention is just to increase the space.

login as root
# sam or (smh)
Scroll down to go to Disks and file Systems

here you can create volume groups, logical volumes etc.

its pretty easy.
Kranti Mahmud
Honored Contributor

Re: How to Add new hard drives in server

Hi Zishan,

Attahced is the best LVM book what will give all the answer of your questions?

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!