Operating System - Tru64 Unix
1747997 Members
4443 Online
108756 Solutions
New Discussion юеВ

Re: Disk Management

 
SOLVED
Go to solution
Paul Stanard
Regular Advisor

Disk Management

I have an unlabeled disk: dsk3
I want to label it: disklabel -wr -t advfs dsk3a

I want to add the disk to /usr. Do I first have to umount it in order to do so and boot into single-user mode. This was the case in HP-UX 10.20? Or is this something that can be done through sysman? Disk mount command?

I know I might hear it for this thread.
25 REPLIES 25
Michael Schulte zur Sur
Honored Contributor

Re: Disk Management

Hi,

as soon as you label the disk, you can add it to /usr like
addvol /dev/dsk/dsk3c usr_domain
You need advfs utilities, with a license.
No umount, you can do it online.
look man addvol

Michael
Paul Stanard
Regular Advisor

Re: Disk Management

Thanks Mike
Paul Stanard
Regular Advisor

Re: Disk Management

Is there any other way to add a disk to the usr_domain because I am not sure we have a license pak for advfs utilities
Michael Schulte zur Sur
Honored Contributor
Solution

Re: Disk Management

Hi,

I am afraid, this is necessary. I am not sure, whether lsm could help you or if this would only mean another nnecessary license.
Hi could you please post the disklabel of the disk with /usr and dsk3?
If you have a big swap space, you could make that smaller and use dsk3 as additional swap.
Do you use hardware raid?
If so, what kind.

Michael
Paul Stanard
Regular Advisor

Re: Disk Management

disklabel dsk3
type: SCSI
disk: HSZ70
label:
flags:
bytes/sector: 512
sectors/track: 254
tracks/cylinder: 20
sectors/cylinder: 5080
cylinders: 6999
sectors/unit: 35556389
rpm: 3600
interleave: 1
trackskew: 7
cylinderskew: 26
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype fsize bsize cpg # ~Cyl values
a: 131072 0 unused 0 0 # 0 - 25*
b: 262144 131072 unused 0 0 # 25*- 77*
c: 35556389 0 unused 0 0 # 0 - 6999*
d: 0 0 unused 0 0 # 0 - 0
e: 0 0 unused 0 0 # 0 - 0
f: 0 0 unused 0 0 # 0 - 0
g: 17581586 393216 unused 0 0 # 77*- 3538*
h: 17581587 17974802 unused 0 0 # 3538*- 6999*
#

I am using mirroring.

Not sure how to tell what disk usr_domain is a part of. I may need to just add a disk to an entirely new domain. I have been thinking about redoing this whole box. There are a lot things I would like to do differently
Michael Schulte zur Sur
Honored Contributor

Re: Disk Management

Hi,

please post
disklabel -r /dev/rdsk/dsk0a
and
lmf list

to see, if you have advfs-utilities

Michael
Paul Stanard
Regular Advisor

Re: Disk Management

# ./disklabel dsk0
# /dev/rdisk/dsk0c:
type: SCSI
disk: RZ29B
label:
flags:
bytes/sector: 512
sectors/track: 113
tracks/cylinder: 20
sectors/cylinder: 2260
cylinders: 3708
sectors/unit: 8380080
rpm: 7200
interleave: 1
trackskew: 9
cylinderskew: 16
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype fsize bsize cpg # ~Cyl values
a: 786432 0 AdvFS # 0 - 347*
b: 786432 786432 LSMnoprv # 347*- 695*
c: 8380080 0 unused 0 0 # 0 - 3707
d: 4096 1572864 LSMsimp # 695*- 697*
e: 3401560 1576960 unused 0 0 # 697*- 2202*
f: 3401560 4978520 unused 0 0 # 2202*- 3707
g: 4300800 1576960 LSMnoprv # 697*- 2600*
h: 2502320 5877760 unused 0 0 # 2600*- 3707

./lmf list
Product Status Users: Total Active

OSF-BASE active unlimited
OSF-USR active unlimited

I have about 4 more license paks but none mention advfs utilities. should i add them anyway and see. I really would like to create a new file system just to put data on it /data in addition to expanding /usr. Thanks for all your help
Michael Schulte zur Sur
Honored Contributor

Re: Disk Management

Hi,

why do you need more space in /usr?
There seems to be some unused space on partition h:
The disk layout looks a bit strange for a lsm disk.

Michael
Paul Stanard
Regular Advisor

Re: Disk Management

I thought the layout was a bit strange as well. I went with the default file system layout since this was my first alpha and needless to say I will never do that again... Partitions C,E,F,H seem to be unused. Is there a way I can make these usable?