Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2010, 03:49 AM
|
#1
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
Clean confidential data from harddisk
As i said in title, we need to erase all datas from harddisk before distroy our old servers.
Quote:
dd if=/dev/zero of=/dev/hda bs=1M
|
Quote:
shred -fzuv -n 100 /dev/hda
|
1. Which is the best practice to erase data, dd or shred?
2. How can i execute these commands in running server, do i need to re-boot the servers as RESCUE mode using bootable cd?
|
|
|
01-21-2010, 04:16 AM
|
#2
|
LQ Newbie
Registered: Jan 2010
Location: Switzerland
Distribution: Ubuntu
Posts: 7
Rep:
|
Quote:
Originally Posted by kirukan
As i said in title, we need to erase all datas from harddisk before distroy our old servers.
1. Which is the best practice to erase data, dd or shred?
|
I think the best one is shred cause it will write the Hard Disck a lot of times and the data can't be read anymore.
Quote:
Originally Posted by kirukan
2. How can i execute these commands in running server, do i need to re-boot the servers as RESCUE mode using bootable cd?
|
Yes you need to mount the Hard Drive separatly.
Last edited by theboogymaster; 01-21-2010 at 04:17 AM.
|
|
|
01-21-2010, 04:24 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Using a count of 100 is absurdly high. After 2 writes of random data, I doubt anyone will be able to read them.
I would recommend using DBAN to securely erase the disk drives.
Even better is to use a tool that uses a function in the drives themselves to do the same.
You could also take a drill and drill through the drives. Many modern drives have ceramic platters so a large hammer would word to smash the platters to bits.
|
|
1 members found this post helpful.
|
01-21-2010, 07:12 AM
|
#4
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Original Poster
Rep: 
|
1. Can i do this task in RESCUE mode by booting bootable CD?
OR
2. Can i do this in single user mode?
we don't reuse this hardware, just only need to erase the data
|
|
|
01-21-2010, 07:24 AM
|
#5
|
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573
|
you can use a livecd
do you have one?
there are many apps for this, dd, dban, secure-delete wipe
I have most stuff like that on 503box-Chrome
http://linux.softpedia.com/get/Syste...86-53783.shtml
however, there are many linux livecd's for this
SystemRescueCD
DVL damn vulnerable linux
of course none of them have my eye-candy
google for the specific apps like dban, etc
|
|
|
01-21-2010, 08:19 AM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
If you have a sledgehammer lying around and some safety goggles that will work fine too and it'll take less time. Thermite is also an option, as are large magnets.
|
|
|
01-21-2010, 08:23 AM
|
#7
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Original Poster
Rep: 
|
Can i use Knoppix for live CD?
|
|
|
01-21-2010, 10:18 AM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Knoppix should be fine. As long as it's kernel has kernel modules for your disk controllers.
|
|
|
01-21-2010, 01:14 PM
|
#9
|
Member
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203
Rep:
|
I don't know if you need the hard drives anymore, but if not when you get done erasing just drill holes through them.
|
|
|
01-21-2010, 09:49 PM
|
#10
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Original Poster
Rep: 
|
SunOS 5.8
#df -k ouput
Quote:
/dev/md/dsk/d10 /
/dev/md/dsk/d60 /in
/dev/md/dsk/d50 /indelivery
etc....
|
Quote:
#format
0. c1t0d0
1. c1t1d0
2. c1t2do
etc...
|
how can i identify which partition represent /in, /indelivary becasue its confusing me the two ouputs
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|