- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 harddisk in one system
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
Discussions
Discussions
Forums
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
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
тАО09-08-2004 04:15 AM
тАО09-08-2004 04:15 AM
I discover I have 2 harddisks in my server.. how can I be sure which directories belong to which harddisk.. and which one is a common drive for all the servers?
THANK YOU FOR YOUR ANSWERS!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 04:25 AM
тАО09-08-2004 04:25 AM
Re: 2 harddisk in one system
For a start you can use pvdisplay /dev/dsk/
to see what filesystem are on them
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 04:26 AM
тАО09-08-2004 04:26 AM
Re: 2 harddisk in one system
Apologies
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 04:28 AM
тАО09-08-2004 04:28 AM
Re: 2 harddisk in one system
$ pvdisplay /dev/dsk/c3t5d0
--- Physical volumes ---
PV Name /dev/dsk/c3t5d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 2
PE Size (Mbytes) 4
Total PE 2169
Free PE 1250
Allocated PE 919
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Then look at your bdf output to determine which logical volumes and file systems are on
each disk. You may also need to look at lvdisplay if both disks are in the same vg to determine exactly which extents of which lv are on which disk:
bdf -l |grep vg00
/dev/vg00/lvol3 200 115 85 58% /
/dev/vg00/lvol1 288 56 203 22% /stand
/dev/vg00/lvol8 3000 349 2631 12% /var
/dev/vg00/lvol7 3000 1063 1923 36% /usr
/dev/vg00/lvol6 200 17 182 9% /tmp
/dev/vg00/lvol5 2000 1676 321 84% /opt
/dev/vg00/lvol4 1600 375 1217 24% /home
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 04:35 AM
тАО09-08-2004 04:35 AM
Re: 2 harddisk in one system
# lvdisplay -v /dev/vgXX/lvolXX
and let us know if the LV spans more than one PV, I will post you the procedure for finding the disk a file is on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 01:53 AM
тАО09-09-2004 01:53 AM
Re: 2 harddisk in one system
I have checked and confirm that one of my LV is straddling on 2 PVs. How shall I proceeds?
THANK Q!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2004 08:11 PM
тАО09-16-2004 08:11 PM
Re: 2 harddisk in one system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2004 06:06 AM
тАО09-17-2004 06:06 AM
Re: 2 harddisk in one system
directory is on?
If you're trying to restore data from a
tape backup you need to restore the entire
logical volume anyway. Unless your backup
software has some special provision for
handling physical volumes instead of logical
volumes?
Furthermore, even if you could find out what
disk a directory is on, I don't think that
guarantees that the files in that directory
are on the same disk. And I think
individual files and directories can also
span more than one disk if their LV does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2004 07:29 AM
тАО09-17-2004 07:29 AM
SolutionBut within a mountpoint (a filesystem inside a logical volume), the directory structure knows nothing about physical disks, just addresses within the logical volume so there is no practical way to map files to a physical disk. Even with such a map, there is no value because data cannot usually be recovered without both disks intact. If your question is about performance, you can look at the logical volume maps and use pvmove to transfer extents from one disk to another.
Bill Hassell, sysadmin