- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Identify internal disk.
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
тАО07-24-2008 08:17 AM
тАО07-24-2008 08:17 AM
Re: Identify internal disk.
Vladimir that command works. Thanks.
How do I find out given the h/w path if the disk is in used or not.
Example : I know the disk H/W like /dev/rdsk/dsk42c how do i find out if its in use or already configured.
I have been told that a long time back spare disks have been lying in the server which are not in use. So I could use one of those.
Kind Regards,
Ryan Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2008 08:23 AM
тАО07-24-2008 08:23 AM
Re: Identify internal disk.
If you're using AdvFS, if the disk is being used, then it will be referenced somewhere under /etc/fdmns. So this will give some output if it is being used:
# ls -lR /etc/fdmns | grep dsk42
If you're using UFS then you'll see it in /etc/fstab.
You should also sanity check that the disk isn't being used as a swap disk with
# swapon -s
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2008 11:42 PM
тАО07-24-2008 11:42 PM
Re: Identify internal disk.
So post output of:
# ls -lR /etc/fdmns
# cat /etc/fstab
# swapon -s
if you want us to check if there are unused disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 12:02 AM
тАО07-25-2008 12:02 AM
Re: Identify internal disk.
>dd if=/dev/disk/dsk42c of=/dev/zero
>/dev/disk/dsk42c: Device busy
You should not see this error unless the block device is currently mounted. Are you sure that the AdvFS domain representing this device is unmounted now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 04:52 AM
тАО07-25-2008 04:52 AM
Re: Identify internal disk.
Firstly, nothing has been done on the system. I mean I identified the disk is spoiled its in a domain with one fileset mounted but you cannot do anything as the disk is totally gone. It not mirrored.
I am sending the outout as requested.
Regards,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 05:38 AM
тАО07-25-2008 05:38 AM
Re: Identify internal disk.
Check again.
Send output of:
# disklabel -r dsk107
# disklabel -r dsk108
# disklabel -r dsk109
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 06:33 AM
тАО07-25-2008 06:33 AM
Re: Identify internal disk.
It does not look free to me. I am sending you the output.
Yes there is no entry in /etc/fdmns/
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2008 06:33 AM
тАО07-25-2008 06:33 AM
Re: Identify internal disk.
It does not look free to me. I am sending you the output.
Yes there is no entry in /etc/fdmns/
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 11:27 PM
тАО07-27-2008 11:27 PM
Re: Identify internal disk.
But do not see entries for them in /etc/fdmns.
Manually create entries for advfs domains, scan for file sets and try to mount them.
Do you know how to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 12:02 AM
тАО07-28-2008 12:02 AM
Re: Identify internal disk.
2) It is possible that there was an AdvFS domain created earlier using these disks (dsk107, 108 etc) and that they forgot to 'rmfdmn' when the domain was no longer required. Or, they reinstalled the OS which left these disks to remain marked as 'AdvFS'