The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Wipe software for Hp-ux jim15800 UNIX for Advanced & Expert Users 1 10-01-2008 10:43 AM
PCI slot info on V480/V490 vasu2020 SUN Solaris 4 07-17-2008 08:29 PM
Telnet issue E5500/V480 kjbaumann SUN Solaris 5 01-24-2007 08:16 PM
What do you use to wipe your disks? BG_JrAdmin SUN Solaris 4 12-11-2006 06:22 PM
V480 w/ Solaris 9 boot problem xnightcrawl UNIX for Advanced & Expert Users 6 01-14-2006 10:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-29-2008
slowatsch slowatsch is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 3
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 Or is there an irc-channel for such things where I can get some really basic support?

greets Slowatsch
  #2 (permalink)  
Old 12-29-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 552
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 (permalink)  
Old 12-29-2008
Sun Fire's Avatar
Sun Fire Sun Fire is offline
Registered User
  
 

Join Date: Apr 2008
Location: EMEA region
Posts: 110
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 (permalink)  
Old 12-30-2008
slowatsch slowatsch is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 3
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 (permalink)  
Old 12-30-2008
slowatsch slowatsch is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 3
Unhappy

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

But there is no way without CD right?
  #6 (permalink)  
Old 12-30-2008
Sun Fire's Avatar
Sun Fire Sun Fire is offline
Registered User
  
 

Join Date: Apr 2008
Location: EMEA region
Posts: 110
Quote:
Originally Posted by slowatsch View Post
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

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.
Closed Thread

Bookmarks

Tags
sun, sunfire

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0