Sponsored Content
Full Discussion: Lost Data Lost Admin
Special Forums Hardware Filesystems, Disks and Memory Lost Data Lost Admin Post 82896 by RTM on Wednesday 7th of September 2005 01:07:04 PM
Old 09-07-2005
Suggest running fsck on the device (/dev/md/dsk/d0) and see if that fixes it. It may not if Oracle was using raw partitions. If not (and you are SURE that it's t1 that is messed up), you may be out of luck since it isn't a mirror - it shows that the /oracle (or /dev/md/dsk/d0) was made up of c1t0d0s4, c1t1d0s0, and c1t1d0s1. If two of those are now damaged (c1t1), you may not be able to fix it.

Was there any other line in md.cf that contained the d0 device? (I'm hoping you had a mirror - something like this - I doubt it since you state there are only 2 36GB drives)
d10 -m d0 d1 1
d0 1 3 c1t0d0s4 c1t1d0s0 c1t1d0s1
d1 1 3 c1t2d0s4 c1t3d0s0 c1t3d0s1

If so, you can break the mirror, recreate the d0 after replacing the hard drive (as long as that was all that was on it).

Since you stated the md.cf was in /etc/lvm, you are running at least Solaris 8 (maybe 7 - I don't recall) since the md config files were moved from /etc/opt/SUNWmd to /etc/lvm around that release. It's always helpful to state the OS and version.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

corrupt or lost data

Thank you livin Free for all your help. We removed a lot of spool files and report files. Which should have freed up some space. But now I think a major problem we have is we have lost or corrupt files which are preventing us from coming up correctly. Can we load or can you copy us a directory... (1 Reply)
Discussion started by: NOT A CLUE
1 Replies

2. UNIX for Dummies Questions & Answers

recover lost data

I did a rm -r command on a directory. I would like to know if there is any way I can recover the data that was lost during this operation. (2 Replies)
Discussion started by: pkappaz
2 Replies

3. UNIX for Advanced & Expert Users

lost data

Hi, Instead of using the tar xvf ...I used tar cvf <device file> for a DLT and the whole of the 50GB data was lost in less than 10sec....The data was not over written for sure. but when i use a tar tvf there is nothing inside. Can i get back the data by any means. If not y. (2 Replies)
Discussion started by: i2admin
2 Replies

4. UNIX for Dummies Questions & Answers

lost or deleted data in Unix?

Quote: "Until the space is used for another file, it is not deleted and the data can be recovered (although it may require jumping through hoops)." Unquote I know this is true in the Windows world, but I didn't think it was true of Unix. I had always been told once it was deleted in Unix, it... (1 Reply)
Discussion started by: wmosley2
1 Replies

5. HP-UX

Lost both Unix Admin's ....need help

Hi all, I know nothing about unix. Both of our unix guys left for greener pastures. I have been given the task of tring to get 10,000 accounts on a hp ux system into active directory. The accounts don't need to be moved, but they need to be in active directory for a couple of applications. Even if... (0 Replies)
Discussion started by: Bob D
0 Replies

6. HP-UX

Need HPUX admin commands lost

Hi All Please somebody send me list of admin commands used for HPUX. Thanks Sunanda (2 Replies)
Discussion started by: sunanda
2 Replies

7. Windows & DOS: Issues & Discussions

Lost Domain Admin Privileges in Samba

Hello, I have apparently lost all domain admin privledges in Samba. I have had several problems ever since I installed the 1/31 Solaris patch cluster. I had to roll out one Samba update (146363-01), which denied all logons network access. However, this particular problem seems to have begun... (0 Replies)
Discussion started by: stringman
0 Replies

8. OS X (Apple)

Need some help with lost data on external drive

Hi all, I would really appreciate some assistance with some lost data on external drive. The external is a Seagate Goflex 3TB drive, Desktop hard drive | External Desktop hard drives | FreeAgent | GoFlex Desk | Seagate The purpose of the drive is to do time machine backups to it from my mac.... (7 Replies)
Discussion started by: brianjb
7 Replies
pm_trans_check(9F)					   Kernel Functions for Drivers 					pm_trans_check(9F)

NAME
pm_trans_check - Device power cycle advisory check SYNOPSIS
#include <sys/sunddi.h> int pm_trans_check(struct pm_trans_data *datap, time_t *intervalp); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) PARAMETERS
datap Pointer to a pm_trans_data structure intervalp Pointer to time difference when next power cycle will be advised DESCRIPTION
The pm_trans_check() function checks if a power-cycle is currently advised based on data in the pm_trans_data structure. This function is provided to prevent damage to devices from excess power cycles; drivers for devices that are sensitive to the number of power cycles should call pm_trans_check() from their power(9E) function before powering-off a device. If pm_trans_check() indicates that the device should not be power cycled, the driver should not attempt to power cycle the device and should fail the call to power(9E) entry point. If pm_trans_check() returns that it is not advised to power cycle the device, it attempts to calculate when the next power cycle is advised, based on the supplied parameters. In such case, intervalp returns the time difference (in seconds) from the current time to when the next power cycle is advised. If the time for the next power cycle cannot be determined, intervalp indicates 0. To avoid excessive calls to the power(9E) entry point during a period when power cycling is not advised, the driver should mark the corre- sponding device component busy for the intervalp time period (if interval is not 0). Conveniently, the driver can utilize the fact that calls to pm_busy_component(9F) are stacked. If power cycling is not advised, the driver can call pm_busy_component(9F) and issue a time- out(9F) for the intervalp time. The timeout() handler can issue the corresponding pm_idle_component(9F) call. When the format field of pm_trans_data is set to DC_SCSI_FORMAT, the caller must provide valid data in svc_date[], lifemax, and ncycles. Currently, flag must be set to 0. struct pm_scsi_cycles { int lifemax; /* lifetime max power cycles */ int ncycles; /* number of cycles so far */ char svc_date[DC_SCSI_MFR_LEN]; /* service date YYYYWW */ int flag; /* reserved for future */ }; struct pm_trans_data { int format; /* data format */ union { struct pm_scsi_cycles scsi_cycles; } un; }; RETURN VALUES
1 Power cycle is advised 0 Power cycle is not advised -1 Error due to invalid argument. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
power.conf(4), attributes(5), power(9E) Writing Device Drivers Using Power Management SunOS 5.11 16 Oct 1999 pm_trans_check(9F)
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy