- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove no longer neede device files
Operating System - HP-UX
1753481
Members
5059
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-14-2003 07:40 AM
тАО03-14-2003 07:40 AM
I have a couple of N class servers, HPUX 11.11 and am no longer using some fiber attached tape drives. I want to remove them from the system files first, disconnect the fiber and then at a later date remove the cards. I have run rmsf -H and the hardware path for all drives and ioscan -funC tape no longer shows them. Of course when I run ioscan they all show back up, so I have learned not to do that. My question is there anything else that I need to do to keep from generating any EMS, etc errrors.
If it has wheels or a skirt, you can't afford it.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 07:49 AM
тАО03-14-2003 07:49 AM
Solution
What I would do is turn it of in EMS. I've had a tough time trying to figure out how to actually get EMS to stop bothering me on devices that are gone from the system. This is how I did it (you have to have the latest diagnostics patches for this to work)..
# /etc/opt/resmon/lbin/moncheck
==> View names of instances you want to disable. Take note of the path.
# /etc/opt/resmon/lbin/monconfig
==> choose (K)ill monitoring option
# cd /var/stm/data/tools/monitor
# vi disable_instances
==> Add "/storage/events/disks/default/0_4_0_1.1.0" for say if you want to stop path 0/4/0/1.1.0 from being monitored.
==> Run "monconfig" and (E)nable monitoring option and select (C)heck monitors to check if it has been turned off.
That should take care of it.
# /etc/opt/resmon/lbin/moncheck
==> View names of instances you want to disable. Take note of the path.
# /etc/opt/resmon/lbin/monconfig
==> choose (K)ill monitoring option
# cd /var/stm/data/tools/monitor
# vi disable_instances
==> Add "/storage/events/disks/default/0_4_0_1.1.0" for say if you want to stop path 0/4/0/1.1.0 from being monitored.
==> Run "monconfig" and (E)nable monitoring option and select (C)heck monitors to check if it has been turned off.
That should take care of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 09:41 AM
тАО03-14-2003 09:41 AM
Re: Remove no longer neede device files
Had the same issue sending back an end of lease disk array and wrote a script to dd every /dev/dsk device file. Checked the status and listed them. Works.
ls -d /dev/dsk/* > file
cat file | while read a
do
dd if=/dev/dsk/c.... of=/dev/null count=10
if [ $? != 0 ]
then
echo $a
# rm $a
fi
done
Just uncomment out the "..#rm $a ..." and they will all go away.
(* Just be careful what you're blowing away. *)
ls -d /dev/dsk/* > file
cat file | while read a
do
dd if=/dev/dsk/c.... of=/dev/null count=10
if [ $? != 0 ]
then
echo $a
# rm $a
fi
done
Just uncomment out the "..#rm $a ..." and they will all go away.
(* Just be careful what you're blowing away. *)
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 10:41 AM
тАО03-14-2003 10:41 AM
Re: Remove no longer neede device files
S. K. Thank you that is what I was looking for.
M. Frederick, I already removed the files and the system entries with rmsf -H x/x/x/x/ which I believe is the prefered way to remove system/special files. If you man rmsf you'll see that using the -H switch will remove the files and the system entries.
I am not going to be able to work on this until next week so don't think that I am forgetting to assign points, I want to verify the proceedure.
M. Frederick, I already removed the files and the system entries with rmsf -H x/x/x/x/ which I believe is the prefered way to remove system/special files. If you man rmsf you'll see that using the -H switch will remove the files and the system entries.
I am not going to be able to work on this until next week so don't think that I am forgetting to assign points, I want to verify the proceedure.
If it has wheels or a skirt, you can't afford it.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP