Operating System - HP-UX
1837866 Members
3030 Online
110122 Solutions
New Discussion

Adding extra hard disk space to system

 
SOLVED
Go to solution

Adding extra hard disk space to system

Hi all,

If i attached 80 GB hard disk to system which step to be follow to activate the same Hard disk.


Many Thanks,
Pratibha
15 REPLIES 15
Steven E. Protter
Exalted Contributor

Re: Adding extra hard disk space to system

Shalom Pratibha,

Assuming its supported disk.

insf -C disk

ioscan -fnCdisk

Get the device.

pvcreate

vgcreate a new volume group on it or vgextend an old volume group to include it.

lvcreate
newfs

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
Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system

Dear Prathibha

once u added a disk in u system
check it is loaded or not
ioscan -fnc disk
if it is claimed that means it is useble
otherwise use insf -e diks
then if u want to create physical volume
u can create by using pvcreate
if u want to add this one in existing volume group
u can extend that volume group
so please clear what do u want with this disk u want to add in an exisiting volume group
or u want to create new column etc...

that menas it depends on u
if u are giving specification
we can give u step by step procedure
pls revert back

Thanks and regards

Sajjad Sahir

Re: Adding extra hard disk space to system


Thanks Sep and Sajjat,

but i dont want to add in volume group.
There is no LVM.

Its simple connected disk, and want to activated it .
Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system

Dear Prathibha

u can do insf -e disk command then
check with
ioscan -funC disk
please assign points

thanks once again

Sajjad Sahir
Steven E. Protter
Exalted Contributor

Re: Adding extra hard disk space to system

insf -C disk (not -e)

should be sufficient.

Use SAM for whole disk partition.

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

Re: Adding extra hard disk space to system


Thanks Sajjid,

but have some doubts,

Is there file system required on that hard disk?

how to assign name to hard disk?




Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system

dear Steve

Really sorry for that it was by typing mistake.
thanks for reminding, Simple mistake will bring down alot of troubles

Thanks once again

Sajjad
Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system

Dear Prathibha

I asked u what do u want with that disk
it is very funny, u just want to add a disk in u system thats all????????????????????
u want to create new volume group or u want to extend an existing one ? clear
the picture. Here peoples will support u no problem but u have to clear u questions
pls don't forget to assign points

Sajjad

Re: Adding extra hard disk space to system

i want to extend an existing one.
(There is no LVM).
Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system


Dear Prathibha

u want to extend an existing volume group
u can use vgextend command for extending volume group
steps
1.create physical volume -pvcreate command
2.extend the volume group -vgextend command

example pvcreate /dev/rdsk/c0t3d0
vgextend vg03 /dev/dsk/c0t3d0
ok

before doing pvcreate confirm the exact physical disk
ok

thanks and regards

Sajjad
Jeeshan
Honored Contributor

Re: Adding extra hard disk space to system

Are you sure you have no LVM in your previous hard disk?

What file system you are using there?
a warrior never quits

Re: Adding extra hard disk space to system

by default:

/stand - HFS
others- JFS

Sajjad Sahir
Honored Contributor
Solution

Re: Adding extra hard disk space to system

Dear Prathibha

please give me u vgdisply out put

then i can give u

clear picture

sajjad
Sajjad Sahir
Honored Contributor

Re: Adding extra hard disk space to system

Dear Prahtibha


also for u clarificaiton

u told hfs and jsf
u know stand file system will always hfs
any how give us clear picture regarding u volume group
sajjad
OFC_EDM
Respected Contributor

Re: Adding extra hard disk space to system

Maybe to clarify the picture

cat /etc/fstab and post
bdf and post

indicate where (VG) you want to add the disk.

Or if you want it as a completely separate independent VG.

The more info the better.

Cheers
The Devil is in the detail.