- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: OS disk scrubbing
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
01-10-2002 06:58 AM
01-10-2002 06:58 AM
OS disk scrubbing
all nonos disks. This is running 10.20 OS
Is there a way to scrub the disks with vg00
group with /, /stand /usr etc.. file systems
thank you,
chak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:03 AM
01-10-2002 07:03 AM
Re: OS disk scrubbing
dd if=/dev/zero of=/dev/dsk/blah count=sizeofdiskin512blocks
then install the OS on another disk, and erase the first using the above method. You also might be able to do a low level format, but I'm not too sure it will actually "erase" the disk.
another way is to remove the disk and place it into another system and use the dd command to "erase" it.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:04 AM
01-10-2002 07:04 AM
Re: OS disk scrubbing
The steps I took:
vgexport -m mapfile -p -v -s vg00
ftp mapfile to my personal workstation
Attach new disk and install OS
Boot from new OS.
ftp mapfile back to machine
mknod /dev/vg01/group c 64 0x010000
vgimport -m mapfile -v vg01
mount all stuff from vg01 and scrub the disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:10 AM
01-10-2002 07:10 AM
Re: OS disk scrubbing
I will add that not all systems have a /dev/zero device. You may need to create one via 'mknod /dev/zero c 3 0x000003' and then 'chmod 444 /dev/zero'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:20 AM
01-10-2002 07:20 AM
Re: OS disk scrubbing
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:26 AM
01-10-2002 07:26 AM
Re: OS disk scrubbing
cd /
rm -rf *
alternatively
cd /
chmod -R 444 *
I'm sure all of the above is fine but far too much work!
Tim...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:25 AM
01-10-2002 08:25 AM
Re: OS disk scrubbing
I got an external disk, and will do what
Patrick suggested.
chak