Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need ur Help guys

Status
Not open for further replies.

alatifm

MIS
Jun 21, 2001
2
0
0
SA
Hello everybody


i have a problem some urgent problem:

1. when a user login to unix after some time he gets disconected in less than a minut, i can telnet, and do few things, then the system gets disconected, i am using an icon-card.

2. Can any body tell me how to check on the unix resources, sucha how many hard-disks there, the location for each one, and how much memory i have, and used, and the basic configuration of the machine, and how can i format the hard disk, and use the CD DRIVE.

3. how can i refresh the network status and know how many users are loged in.

how can i extend my hard disk, and how can load expand the file system.


thank u very much, i appriciate it.

 
1. not sure
2. #bdf (to view how much space you are using)
3. to see your volume groups
#vgdisplay /dev/vg??
4. to format do the following command
#mediainit –v /dev/rdsk/c?t?d?
5.use the following commands to view whos's on the system
#who
#last -R | more


Extending volume groups with one or more physical drives




CONFIGURATION

HP-UX 10.x, 11.x

RESOLUTION

vgextend will increase the unused space in a volume group by making
available all the physical extents on the new
physical volume(s). You must have used pvcreate(1m) on the new disk(s)
first:

# pvcreate /dev/rdsk/cCtTdD
# vgextend vgXY /dev/dsk/cCtTdD

If you get the following error when using pvcreate

pvcreate: The physical volume already belongs to a volume group

the disk has been already in use under LVM. Then you have to force

# pvcreate -f /dev/rdsk/cCtTdD

The newly available space can be used for new logical volumes or added
to existing logical volumes with
lvextend(1m).

Check your volume group with

# pvdisplay -v /dev/dsk/cCtTdD

and

# vgdisplay -v vg01



Extending the root volume group

For a bootable disk you must use

# pvcreate -B /dev/rdsk/cCtTdD

in case of re-using a disk together with the -f option as described
above.

Now, you can extend and check vg00 as described above.

Don´t forget to actualize the label file for disks in the root volume
group:

NOTE: observe correct order!

For HP-UX 10.20 (not updated to) and 11.X only:

# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

For HP-UX 10.01, 10.10, and updates to 10.20 only:

# lvlnboot -r /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

Check with

# lvlnboot –v







 
Hi Alatifm,

1)Have you got the variable TMOUT set in the .profiles of your users, as setting this would disconnect users after the time set?
2)To find out how many Hard Disks use
#ioscan -kfnC disk
Just in case you have disks that aren't in volume groups.
Memory would show in dmesg, or you could inquire using STM(if installed)
3)Hardware Network Status with
#lanscan

Regards
Queenie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top