09-15-2006
Major system issue!!! HELP
Last week our server went down. I narrowed it down the the hard drive. I received a new drive but I REALLY need some info off the old drive. I want to get the old drive up long enough to do a dd copy. Here's what I tried..............
After trying to freeze the old drive (wasn't spinning up) to no avail I did some reading and found that I may have a bad controller card. I had another bad drive laying around the office so I swapped cards.
I was able to boot.....partially.....i received:
/dev/dsk/c1t1d0s1 No such device or address
Can't open /dev/rdsk/c1t1d0s1
I ran fsck -y but i received the Can't open /dev/rdsk/blah blah
when i do a probe-scsi-all it sees the disk
when i do a format it does see the disk
Help PLEASE......
I'm running Solaris 8......
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
I am working with the Solaris 9.
In df -h command / file system size is 9.6 GB , used 7.5 GB and avialble space is 2.1. OK
But in du -hd command it is showing some 4.1 GB only.
How to find out that remaining 3.4GB.
Can you please help me ...
Thanks and Regards, (1 Reply)
Discussion started by: lbreddy
1 Replies
2. Solaris
Hi,
In df -h root file system showing
(total size) (used) (free)
/dev/dsk/c0t0d0s0 11G 7.6G 2.8G 73% /
but du -hd command showng 5.1 gb used sapce.
I am missing 3.00 gb space.
Here I have to knoe where is Remaining space... (2 Replies)
Discussion started by: lbreddy
2 Replies
3. Solaris
Hi All,
This is Babu working as a system administrator.
Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.
Please can any one help me resolve this issue... (2 Replies)
Discussion started by: lbreddy
2 Replies
4. AIX
Hi Administrators,
I have one issue related to GPFS filesystem. We have bad entries in this file system, which reflects error like
ls: 0653-341 The file <filename> does not exist.
when we give "ls -ltr" on this directory.
So we taken the FS filesystem offline and followed the below steps.
... (6 Replies)
Discussion started by: gauravgarg
6 Replies
5. Programming
Hi,
We are accessing our remote webserver using libcurl.We are using GET method to post the request.The request is a simplified URL.We will receive XML Response for the URL request.
Problem
For Few Scenarios, response for the URL request is received & our component is killed abruptly. Can... (11 Replies)
Discussion started by: banus
11 Replies
6. Programming
Hi,
I ported a file system from Kernel version 2.6.18.* to 2.6.32.46 as VFS implementation has changed and prepare_write/commit_write are replaced by write_begin/write_end pairs.
Implemented the feature by writing a wrapper for write_begin and write_end and calling original functions for... (0 Replies)
Discussion started by: Praveen_218
0 Replies
7. Shell Programming and Scripting
I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes.
When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error.
fatal: libdb2.so.1:... (2 Replies)
Discussion started by: prasperl
2 Replies
8. Solaris
Hi friends, Please let me know if there is any way to find out Major and Minor numbers of virtual file system like below:
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K ... (8 Replies)
Discussion started by: nitj
8 Replies
9. Red Hat
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
Discussion started by: kapil514
2 Replies
10. UNIX for Advanced & Expert Users
We have a production file system which has 6+ million files with more than 1 tera byte in size. When trying to delete selective files through a weekly script files are not deleted.
Please advise with ideas. (5 Replies)
Discussion started by: kppublicmail
5 Replies
LEARN ABOUT REDHAT
sdl_cdopen
SDL_CDOpen(3) SDL API Reference SDL_CDOpen(3)
NAME
SDL_CDOpen- Opens a CD-ROM drive for access.
SYNOPSIS
#include "SDL.h"
SDL_CD *SDL_CDOpen(int drive);
DESCRIPTION
Opens a CD-ROM drive for access. It returns a SDL_CD structure on success, or NULL if the drive was invalid or busy. This newly opened CD-
ROM becomes the default CD used when other CD functions are passed a NULL CD-ROM handle.
Drives are numbered starting with 0. Drive 0 is the system default CD-ROM.
EXAMPLES
SDL_CD *cdrom;
int cur_track;
int min, sec, frame;
SDL_Init(SDL_INIT_CDROM);
atexit(SDL_Quit);
/* Check for CD drives */
if(!SDL_CDNumDrives()){
/* None found */
fprintf(stderr, "No CDROM devices available
");
exit(-1);
}
/* Open the default drive */
cdrom=SDL_CDOpen(0);
/* Did if open? Check if cdrom is NULL */
if(!cdrom){
fprintf(stderr, "Couldn't open drive: %s
", SDL_GetError());
exit(-1);
}
/* Print Volume info */
printf("Name: %s
", SDL_CDName(0));
printf("Tracks: %d
", cdrom->numtracks);
for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
FRAMES_TO_MSF(cdrom->track[cur_track].length, &min, &sec, &frame);
printf(" Track %d: Length %d:%d
", cur_track, min, sec);
}
SDL_CDClose(cdrom);
SEE ALSO
SDL_CD, SDL_CDtrack, SDL_CDClose
SDL
Tue 11 Sep 2001, 22:58 SDL_CDOpen(3)