Wipe a Sunfire V480


 
Thread Tools Search this Thread
Operating Systems Solaris Wipe a Sunfire V480
# 1  
Old 12-29-2008
Wipe a Sunfire V480

Hi Guys

I'm new here in these forums and also in Sun Solaris/Sun hardware related things.

I have some really basic questions about the way to go for "wipe" a Sun Solaris system.

I have to sell a used Sunfire v480 and I wan't to wipe the old sytem before selling it. But I'm not sure if I can just erase/wipe all the partitions on the disk. Are there any special partition/settings that shouldn't be erased?

I visited the Sun Links on the top of this forum. But the Sun Forum seems to be down/broken atm. Someone knows any other good support site for Sun Server related questions? Well I'm allready stuck on how to boot a Sunfire from cd-rom drive Smilie Or is there an irc-channel for such things where I can get some really basic support?

greets Slowatsch
# 2  
Old 12-29-2008
there are a few ways to wipe the disk. if you are reselling the box with hard drives, i would definitely clear your data from the drives including all partitions. the buying party will be able to format the disk as needed.

please note that you should always boot off media (cdrom) before running these on the disk that holds the root partition.

ideally you will want to boot off media whenever doing this but not necessarily.

boot off media at the ok prompt or obp:
Code:
{0} boot cdrom

there are several scripts out on the net that can help you but the general idea is to use format. type `format` and then select your disk(s). from there, you will type analyze and see several options. look for any of these:
Code:
        write    - write then read      (corrupts data)
        compare  - write, read, compare (corrupts data)
        purge    - write, read, write   (corrupts data)
        verify   - write entire disk, then verify (corrupts data)

by issuing any of these commands, you will (as it says) corrupt the data. may scripts will have you run each of these sequentially as they finish. this is the most time consuming way to kill your disks but one of the better ways without using an external machine/tool. depending on drive, this can take more then a day.

the other way is to write all zero's to your disk(s). you would issue something like:
Code:
dd if=/dev/zero /dev/rdsk/cXtXdXsX

where `cXtXdXsX` is your target disk and `sX` is your backup tag'ed slice (usually 2 or 7). again, you can find the disk you would like to target by issuing format.

good luck.
# 3  
Old 12-29-2008
Or what you can do is

Code:
fmthard -s /dev/null /dev/rdsk/cXtXdXs2


note this doesn't really destroy your data, but it clears the VTOC. The only way to redeem your data is to get your exact VTOC back. The buying party will not know your VTOC unless you give it to them.
# 4  
Old 12-30-2008
Thank you really much for your help. Well my first thought was to boot from a external CD and run a program like dban (Darkis Boot and Nuke). Is there any advantage of the format / fmthard commands?


ps. whould be nice to have a command like "selfdestruct" :P
# 5  
Old 12-30-2008
Data

Update:

Well I tried to boot from CD now and I'm stuck on booting it. Yes I read the threads but somehow I didn't found my case.

I have the cdrom on the ide slot. Probe-ide shows:
Quote:
Device 0 ( Primary Master )
Removable ATAPI Model: TOSHIBA ODD-DVD SD-C2732
The disks are on the scsi bus.

I tryed to boot the system with "boot cdrom"
Error:
Quote:
Bad magic number in disk label (sometimes this error is missng, sometimes not)
Can't open disk label package

Can't open boot device
I read the last thread about it and tryed to find it in the OS... but well I somehow failed.

Format shows:
Quote:
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000087850350,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w210000008783f106,0
ls /dev/dsk/ :
Quote:
c0t0d0s0 c0t0d0s3 c0t0d0s6 c1t0d0s1 c1t0d0s4 c1t0d0s7 c1t1d0s2 c1t1d0s5
c0t0d0s1 c0t0d0s4 c0t0d0s7 c1t0d0s2 c1t0d0s5 c1t1d0s0 c1t1d0s3 c1t1d0s6
c0t0d0s1 c0t0d0s4 c0t0d0s7 c1t0d0s2 c1t0d0s5 c1t1d0s0 c1t1d0s3 c1t1d0s6
But I can't find the right device in /dev/rdsk/... I tried ct0d0s6 but no success.

It's a burned CD, but I also tried it with a DVD and a pressed CD. Always no success.

Well I need a way to wipe this machine soon, because I should sell it asap Smilie

But there is no way without CD right?
# 6  
Old 12-30-2008
Quote:
Originally Posted by slowatsch
Update:

Well I tried to boot from CD now and I'm stuck on booting it. Yes I read the threads but somehow I didn't found my case.

I have the cdrom on the ide slot. Probe-ide shows:


The disks are on the scsi bus.

I tryed to boot the system with "boot cdrom"
Error:


I read the last thread about it and tryed to find it in the OS... but well I somehow failed.

Format shows:

ls /dev/dsk/ :

But I can't find the right device in /dev/rdsk/... I tried ct0d0s6 but no success.

It's a burned CD, but I also tried it with a DVD and a pressed CD. Always no success.

Well I need a way to wipe this machine soon, because I should sell it asap Smilie

But there is no way without CD right?


I don't really know why the CD is not working, try the same CD with other machine and see.


there is plenty of ways, now put the boot disk aside, you can wipe the other disk safely. The boot disk, you can use the commands but you will not longer be able to access ur system. be careful, if you wiped the boot disk you wont be able to boot to your system anymore.
# 7  
Old 12-30-2008
Quote:
The boot disk, you can use the commands but you will not longer be able to access ur system. be careful, if you wiped the boot disk you wont be able to boot to your system anymore.
thats the idea. hes trying to resell the box.


anyway, the cd/dvd may not be bootable. mounting the cdrom won't really help you as the cd/dvd needs to be bootable. however, you can always find your cd/dvdrom via
Code:
iostat -En

you can also use volcheck to make sure the cdrom is reading the cd/dvd.
Code:
volcheck -v /dev/dsk/c* | grep "has media"

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris box completely wipe

HI, I woluld like to know is it possible to boot solairs into single usermode from cd and using format -> purge command to wipe all the disk? please suggest or any other method ? my requirement is to completely wipe solaris box. (4 Replies)
Discussion started by: manoj.solaris
4 Replies

2. HP-UX

Wipe tool for HP-UX

Hi, Please suggest wipe tool for hp-ux. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

3. Cybersecurity

How do I wipe stdout?

Today I used Terminal (invoked from Mac OS X 10.4.11) to view some data that is secured by a password. After exiting Terminal, it occurred to me that a vestige of the data displayed on my screen might reside in memory or in disk file ... the actual file used for stdout, for example. Do I need... (1 Reply)
Discussion started by: dcollins
1 Replies

4. Solaris

Solaris 8 on v480 & v490

Hello, Can any kind soul please answer this? I want to boot a SunFire v490 with a dvd image we use to boot v480's. Is this possible? Are there caveats to doing this? Thanks muchly, mgb (1 Reply)
Discussion started by: mgb
1 Replies

5. UNIX for Advanced & Expert Users

Wipe software for Hp-ux

I am looking for recommendations on DOD compliante software to wipe disk on HP-UX. Any recommendations would be appreciated. Thank you in advance for any assistance provided. (1 Reply)
Discussion started by: jim15800
1 Replies

6. UNIX for Dummies Questions & Answers

Reommendations for hp-ux wipe software

I am looking for software to do DoD compiliant wipes on Hp-Ux. Thank you in advance for any recommendations provided. (1 Reply)
Discussion started by: jim15800
1 Replies

7. Solaris

PCI slot info on V480/V490

Hi, How can I know slot wise info on a sun v480 box. I want to have the details like which slot has which card (slot 1- HBA, slot 2 - quad NIC) .. I know that sysdef, prtconf or prtdiag outputs will help to get this. But I dont know how to conclude from those outputs. Can anybody help me to... (4 Replies)
Discussion started by: vasu2020
4 Replies

8. Solaris

Telnet issue E5500/V480

Our old E5500 was just turned off (planned :rolleyes: ) and the application was moved to a V480. Now if I login to the V480 and try to sudo to root my connection hangs, and I can not telnet to the E5500 after it was powered on again. I get "connection refused". Telnet to this machine was... (5 Replies)
Discussion started by: kjbaumann
5 Replies

9. Solaris

What do you use to wipe your disks?

What are y'all using to wipe your solaris disks? I am being question by IT Security, what I am using to wipe disk. Is anyone using a 3rd party utility? I have used the format utility in solaris previously. But they are looking for something commercial that I can use. Anyone have... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

10. UNIX for Advanced & Expert Users

V480 w/ Solaris 9 boot problem

Our V480 w/ Solaris 9 would not boot properly. After recreating the LUNs on our StorEdge A1000, and then performing a reboot, the machine just keep cycling through the boot process. No error messages, it keeps trying to reboot over and over again. Any ideas? We managed to do a stop+a and... (6 Replies)
Discussion started by: xnightcrawl
6 Replies
Login or Register to Ask a Question