- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk Size On HP-UX
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
06-01-2004 05:53 PM
06-01-2004 05:53 PM
I am having an HP-UX D Class 9000 Series
server running HP-UX 10.20
It is having 4 disk attached to it and LVM
configured.
One of the disk is giving me problem at the
time of booting, which I want to replace
tell me how should I display size of each
individual disk.
Thanks,
Amit.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 05:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 06:00 PM
06-01-2004 06:00 PM
Re: Disk Size On HP-UX
diskinfo is the command, i hope you are looking for....It uses raw or character device file...
eg:
diskinfo -v /dev/rdsk/c1t2d0
SCSI describe of /dev/rdsk/c1t2d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
rev level: HP04
blocks per disk: 71132960
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)46 (33)44 (34)30 (35)54 (36)4c (37)4e (38)32 (
39)20 (40)20 (41)20 (42)20 (43)53 (44)45 (45)41 (46)47 (47)41 (48)54 (49)45 (50)
20 (51)c (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0
(64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (
77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90
)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20
(102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)31 (110)20 (111)53
(112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c
(122)20 (123)4 (124)3d (125)67 (126)20 (127)0 (128)0 (129)2 (130)0 (131)0 (132)
0 (133)0 (134)0 (135)0 (136)0 (137)0 (138)0 )
with best wishes
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 06:06 PM
06-01-2004 06:06 PM
Re: Disk Size On HP-UX
Try the following steps, these may help you.
1. Make note of disks available on the system by
# ioscan -funC disk
2. Check the disks already used by
# strings /etc/lvmtab
3. From the above two steps we will get available free disk(s)
4. Check disk capacity by
diskinfo /dev/rdsk/c0t5d0
HTH,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 06:19 PM
06-01-2004 06:19 PM
Re: Disk Size On HP-UX
Try This
1) #bdf
This will give you the filesystem info
i.e. the filesystem which is giving problem belongs to which VG
2) #strings /etc/lvmtab
Just check the VG belongs to which disk
3) #diskinfo -v /dev/dsk/cxtxdx
where cxtxdx you will get from 1,2&3
This will give you the size and model of the disk
Also some advance drives shows the model and capacity in ioscan.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 08:02 PM
06-01-2004 08:02 PM
Re: Disk Size On HP-UX
Thanks to all of you.
Well when I gave ls /dev/rdsk/
It listed 6 files so I am bit confused why
it is displaying 6 files though my
server is just having 4 disks.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 08:06 PM
06-01-2004 08:06 PM
Re: Disk Size On HP-UX
If I remember correctly the old D classes could have 2 internal disks as well as the disks loaded in the front chasis. what model is the server ?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 08:09 PM
06-01-2004 08:09 PM
Re: Disk Size On HP-UX
Perhaps two of your disks has alternate path defined.
can check it with the vgdisplay command.
or
you had some devices in that particular address and later on you removed them..
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 07:37 PM
06-02-2004 07:37 PM
Re: Disk Size On HP-UX
If you cehck ioscan -fnC disk then you will get the correct number of disk connected to System. Out of these one will be DVD(probably in your system it may be /dev/rdsk/c3t2d0). The other one if you do
diskinfo -v /dev/rdsk/c?t?d? then you will find that the message is coming that
"diskinfo: can't open /dev/rdsk/c?t?d?: No such device or address "
To check the size of the disk diskinfo -v is the good to check. Also you can use pvdisplay -v /dev/dsk/c?t?d? and calculate disk size by
multiplying Total PE by PE Size(Mbytes)
Though you will get slight difference in result.
Rgds
Tapas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 07:50 PM
06-02-2004 07:50 PM
Re: Disk Size On HP-UX
Also have to mention that HP-UX is out of support and I would reccomend upgrading.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 08:06 PM
06-02-2004 08:06 PM