Data gone?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Data gone?
# 1  
Old 02-15-2006
Data gone?

If you have data on an external drive and you re-partition the drive (no format), is the data totally gone? Smilie
# 2  
Old 02-15-2006
(The hardware and OS might be good to know.) Totally gone, probably not. Try partitioning it back and see if you have anything. Or pull out your checkbook and hire a data recovery firm.
# 3  
Old 02-15-2006
Solaris 5.8 Sunblade 1000 (I think). How do you partition back? The filesystem slices for the new partition is the same as the old.
# 4  
Old 02-15-2006
You partition back with the same commands you used to repartition the disk. This assumes that you somehow remember the original configuration. But if you overwrote the partition table with a new partition table that had the exact same layout as the original, then you should be ok.
# 5  
Old 02-16-2006
c1t9d0s0 repartitioned to c1t9d0s0 (the same layout). Still possible??
# 6  
Old 02-16-2006
I don't know what that question is supposed to mean. Why not just try the disk and see if the data is there? That would take like 5 minutes.
# 7  
Old 02-16-2006
Well I'm not sure if I am asking the correct question. I'll try to break down what happened and why I'm asking.

We have a server with one internal harddrive and one external harddrive. The internal harddrive went bad. At the time df -k output looked like this:

Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t1d0s0 6193583 4879259 1252389 80% /
/proc 0 0 0 0% /proc
/dev/dsk/c2t1d0s3 3143371 1454721 1625783 48% /sc
/dev/dsk/c1t9d0s3 1518682 170584 1287351 12% /apps
/dev/dsk/c1t9d0s1 2024915 759188 1204980 39% /home
/dev/dsk/c1t9d0s4 981985 105745 817321 12% /osa
swap 1213536 72 1213464 1% /tmp
/dev/dsk/c1t9d0s7 984355 596227 329067 65% /sc/datedir
/dev/dsk/c1t9d0s0 2024915 93308 1870860 5% /sc/odct
/dev/dsk/c1t9d0s6 981985 217162 705904 24% /usr/local
/dev/dsk/c2t1d0s4 6287480 1089796 5134810 18% /sc/pacbell/arc
/dev/dsk/c2t1d0s5 8383553 2841470 5458248 35% /sc/pacbell/onl
/dev/dsk/c2t1d0s6 10481069 1203570 9172689 12% /sc/pacbell/ofc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 1213480 16 1213464 1% /var/run

So I got a new harddrive and loaded the OS via cdrom. During this process, it asked me to partition the disks. So I did. Now my df -k output looks like this:

Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t1d0s0 4906998 1133364 3724565 24% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 1302256 8 1302248 1% /var/run
swap 1303576 1328 1302248 1% /tmp
/dev/dsk/c2t1d0s3 2527543 683863 1793130 28% /sc
/dev/dsk/c1t9d0s4 942447 105666 780235 12% /osa
/dev/dsk/c1t9d0s3 1501423 67715 1373652 5% /apps
/dev/dsk/c1t9d0s1 2004703 124488 1820074 7% /home
/dev/dsk/c1t9d0s7 942447 9 885892 1% /sc/datedir
/dev/dsk/c1t9d0s6 942447 112938 772963 13% /usr/local
/dev/dsk/c1t9d0s0 2004703 9 1944553 1% /sc/odct
/dev/dsk/c2t1d0s6 8477813 9 8393026 1% /sc/pacbell/ofc
/dev/dsk/c2t1d0s4 5085294 9 5034433 1% /sc/pacbell/arc
/dev/dsk/c2t1d0s5 6778901 10 6711102 1% /sc/pacbell/onl

The c1t9d0 is my external drive, which did not have the problem. I had data in there but since I repartitioned, the data is not there. Is the old data retrievable?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk --> math-operation in data-record and joining with second file data

Hi! I have a pretty complex job - at least for me! i have two csv-files with meassurement-data: fileA ...... (2 Replies)
Discussion started by: IMPe
2 Replies

2. Shell Programming and Scripting

Parsing XML (and insert data) then output data (bash / Solaris)

Hi folks I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file. It all works - apart from the xml and config file format in the new file with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2 Replies

3. Shell Programming and Scripting

Generate tabular data based on a column value from an existing data file

Hi, I have a data file with : 01/28/2012,1,1,98995 01/28/2012,1,2,7195 01/29/2012,1,1,98995 01/29/2012,1,2,7195 01/30/2012,1,1,98896 01/30/2012,1,2,7083 01/31/2012,1,1,98896 01/31/2012,1,2,7083 02/01/2012,1,1,98896 02/01/2012,1,2,7083 02/02/2012,1,1,98899 02/02/2012,1,2,7083 I... (1 Reply)
Discussion started by: himanish
1 Replies

4. Shell Programming and Scripting

Converting variable space width data into CSV data in bash

Hi All, I was wondering how I can convert each line in an input file where fields are separated by variable width spaces into a CSV file. Below is the scenario what I am looking for. My Input data in inputfile.txt 19 15657 15685 Sr2dReader 107.88 105.51... (4 Replies)
Discussion started by: vharsha
4 Replies

5. UNIX for Dummies Questions & Answers

How to get data only inside polygon created by points which is part of whole data from file?

hiii, Help me out..i have a huge set of data stored in a file.This file has has 2 columns which is latitude & longitude of a region. Now i have a program which asks for the number of points & based on this number it asks the user to enter that latitude & longitude values which are in the same... (7 Replies)
Discussion started by: reva
7 Replies

6. Shell Programming and Scripting

Extract data based on match against one column data from a long list data

My input file: data_5 Ali 422 2.00E-45 102/253 140/253 24 data_3 Abu 202 60.00E-45 12/23 140/23 28 data_1 Ahmad 256 7.00E-45 120/235 140/235 22 data_4 Aman 365 8.00E-45 15/65 140/65 20 data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies

7. UNIX for Dummies Questions & Answers

converting a tabular format data to comma seperated data in KSH

Hi, Could anyone help me in changing a tabular format output to comma seperated file pls in K-sh. Its very urgent. E.g : username empid ------------------------ sri 123 to username,empid sri,123 Thanks, Hema:confused: (2 Replies)
Discussion started by: Hemamalini
2 Replies

8. Shell Programming and Scripting

how to verify that copied data to remote system is identical with local data.

I have created simple shell script #!/bin/sh echo `date`; echo "Start .... find . -mtime +95 -print > /tmp/files.txt for file in `cat /tmp/files.txt` do echo "copying file - $file" /usr/local/bin/scp -p -P 2222 $file remote.hostname:/file/path echo "copid file -... (3 Replies)
Discussion started by: ynilesh
3 Replies

9. UNIX for Dummies Questions & Answers

Howto capture data from rs232port andpull data into oracle database-9i automatically

Hi, i willbe very much grateful to u if u help me out.. if i simply connect pbx machine to printer by serial port RS232 then we find this view: But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Discussion started by: boss
1 Replies
Login or Register to Ask a Question