Sponsored Content
Operating Systems Solaris Solaris Boot Problems, random messages [/etc/rcS: /etc/dfs/sharetab: cannot create] Post 302163756 by ranjtech on Saturday 2nd of February 2008 07:57:35 AM
Old 02-02-2008
Java Solaris Boot Problems, random messages [/etc/rcS: /etc/dfs/sharetab: cannot create]

Hello All,

I have all of a sudden developed issues with booting up one of my Solaris [V240] Servers. Upon a routine reboot, I was faced with the following errors:

Feb 1 07:56:44 sco1-au-tci scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd0):
Feb 1 07:56:44 sco1-au-tci Error for Command: read(10) Error Level: Retryable
Feb 1 07:56:44 sco1-au-tci scsi: Requested Block: 114007888 Error Block: 114007903
Feb 1 07:56:44 sco1-au-tci scsi: Vendor: SEAGATE Serial Number: 053532DN34
Feb 1 07:56:44 sco1-au-tci scsi: Sense Key: Media Error
Feb 1 07:56:44 sco1-au-tci scsi: ASC: 0x11 (unrecovered read error), ASCQ: 0x0, FRU: 0xf
Feb 1 07:56:45 sco1-au-tci scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd0):
Feb 1 07:56:45 sco1-au-tci Error for Command: read(10) Error Level: Fatal
Feb 1 07:56:45 sco1-au-tci scsi: Requested Block: 114007888 Error Block: 114007903
Feb 1 07:56:45 sco1-au-tci scsi: Vendor: SEAGATE Serial Number: 053532DN34
Feb 1 07:56:45 sco1-au-tci scsi: Sense Key: Media Error
Feb 1 07:56:45 sco1-au-tci scsi: ASC: 0x11 (unrecovered read error), ASCQ: 0x0, FRU: 0xf

So I figured, Oh ****...the disk is messed up. However, on running a few scans, i.e. 'iostat -En' showed ALL errors to be '0'. In addition, I ran the format -> analyze -> read test which ran for about 10 or so hours and came back saying 0 errors found to be repaired. So it appears nothing particularly is wrong with my hardware. After the 2nd reboot, I didn't get the errors above anymore but now I can't seem to get past the single-user mode. I get the following errors.

mount: the state of /dev/dsk/c1t0d0s0 is not okay
and it was attempted to be mounted read/write
mount: Please run fsck and try again
/sbin/rcS: /etc/dfs/sharetab: cannot create
failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file '/etc/sysevent/syseventd_lock': 'Read-only file system'
INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:" "

INIT: failed write of utmpx entry:" "

INIT: SINGLE USER MODE

Type control-d to proceed with normal startup,
(or give root password for system maintenance):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

I am unable to run fsck since this drive has an image of a corrupted drive (which had a bunch of unreadable sectors/blocks). I used ufsdump/ufsrestore to back it up, which obv left a gaping hole at the track/sectors where the original/corrupted disk was unreadable. So now even though it makes the server do its function without any problems, it doesn't allow me to run fsck and gives me a message like

[root@sol8-ssw01 /]# fsck -y /dev/rdsk/c1t0d0s0
** /dev/rdsk/c1t0d0s0

CANNOT READ: BLK 143278112
CONTINUE? yes

THE FOLLOWING SECTORS COULD NOT BE READ: 143278112 143278113 143278114 143278115

I have read a whole bunch of stuff as I found on google, like /var being full (it's not), the WWN being wrong as compared between vfstab, /dev, and /devices directory etc. I don't know what is wrong and I don't know what to do to fix this. Any ideas as to why this happened and what I can do?

PLEASE HELP!!!
 

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 8 boot problems

I'm new to Unix so please bear with me. We had a Ultra 10 running solaris 8 and the motherboard went. So we bought a replacement Ultra 10 on ebay. Exact same hardware. Swapped out the drives with our drives and booted. The new system was set up to boot off disk1 and ours were set to boot off... (1 Reply)
Discussion started by: jbestor
1 Replies

2. Programming

how to create random no between 10 to 40 in C

can any one tell me how to create integer random no between 10 to 40 in C language.When i m using random() or rand() functions they r creting some long int which is not required (5 Replies)
Discussion started by: useless79
5 Replies

3. UNIX for Advanced & Expert Users

How to Create Banner/Login Messages in Solaris.

Hi, I have been trying to create a banner/login message (something for displaying the usage policy etc) to appear while I login using telnet/FTP to any Solaris (pref. Solaris9) machine. I have tried using /etc/issue and /etc/motd files. Both do not solve my need. In that, /etc/issue displays... (8 Replies)
Discussion started by: mahatma
8 Replies

4. Solaris

PXE boot problems in Solaris 10

Hi folks, I was trying to setup Network based NFS installation with PXE. I'm using virtual box for this purpose. I have one redhat (DHCP) server and Solaris 10 (Install server - Source) and on the other one am trying to install solaris using PXE. As in, dhcp address and boot file can be fetched... (2 Replies)
Discussion started by: vijaytrendz
2 Replies

5. Solaris

Cannot change the permission of /etc/dfs/sharetab

I am using a Solaris 5.10 with patch level 10/08. Here /etc/dfs/sharetab is listed as a file system with "df -k" as below: #df -k /etc/dfs/sharetab Filesystem kbytes used avail capacity Mounted on sharefs 0 0 0 0% /etc/dfs/sharetab What is "sharefs"? This is not present in my other... (6 Replies)
Discussion started by: varunla
6 Replies

6. UNIX for Dummies Questions & Answers

suppress RCS messages

ci filename This command displays a message. I don't want it to. How can I keep RCS from doing so? (5 Replies)
Discussion started by: robin_simple
5 Replies

7. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

8. Solaris

Getting error while trying to create a Solaris boot instance

I issue the following command to create a boot instance from an active boot instance on solaris 11.1. beadm create -a -d "Oracle x86 64 BIT Solaris SunOS Rel 5.11 Ver 11.1 10/2012 Enable SSH " OraSolBcp I get the following error below;- be_mount_callback: failed to mount dataset... (5 Replies)
Discussion started by: Tenyhwa
5 Replies
ssd(7D) 							      Devices								   ssd(7D)

NAME
ssd - Fibre Channel Arbitrated Loop disk device driver SYNOPSIS
ssd@port,target:partition DESCRIPTION
The ssd driver supports Fibre Channel disk devices. The specific type of each disk is determined by the SCSI inquiry command and reading the volume label stored on block 0 of the drive. The volume label describes the disk geometry and partitioning; it must be present or the disk cannot be mounted by the system. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. A "raw" interface provides for direct transmission between the disk and the read or write buffer. A single read or write call usu- ally results in one I/O operation; raw I/O is therefore more efficient when many bytes are transmitted. Block file names are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests (such as lseek(2)) to the SCSI disk must have an offset that is a multiple of 512 bytes (DEV_BSIZE), or the driver returns an EINVAL error. If the transfer length is not a multiple of 512 bytes, the transfer count is rounded up by the driver. Partition 0 is normally used for the root file system on a disk, with partition 1 as a paging area (for example, swap). Partition 2 is used to back up the entire disk. Partition 2 normally maps the entire disk and may also be used as the mount point for secondary disks in the system. The rest of the disk is normally partition 6. For the primary disk, the user file system is located here. The device has associated error statistics. These must include counters for hard errors, soft errors and transport errors. Other data may be implemented as required. DEVICE STATISTICS SUPPORT
The device maintains I/O statistics for the device and for partitions allocated for that device. For each device/partition, the driver accumulates reads, writes, bytes read, and bytes written. The driver also initiates hi-resolution time stamps at queue entry and exit points to enable monitoring of residence time and cumulative residence-length product for each queue. Not all device drivers make per-partition IO statistics available for reporting. ssd and sd(7D) per-partition statistics are enabled by default but may be disabled in their configuration files. IOCTLS
Refer to dkio(7I). ERRORS
EACCES Permission denied. EBUSY The partition was opened exclusively by another thread. EFAULT The argument was a bad address. EINVAL Invalid argument. EIO An I/O error occurred. ENOTTY The device does not support the requested ioctl function. ENXIO When returned during open(2), this error indicates the device does not exist. EROFS The device is a read-only device. CONFIGURATION
You configure the ssd driver by defining properties in the ssd.conf file. The ssd driver supports the following properties: enable-partition-kstats The default value is 1, which causes partition IO statistics to be maintained. Set this value to zero to prevent the driver from recording partition statistics. This slightly reduces the CPU overhead for IO, mimimizes the amount of sar(1) data collected and makes these statistics unavailable for reporting by iostat(1M) even though the -p/-P option is specified. Regardless of this setting, disk IO statistics are always maintained. FILES
ssd.conf Driver configuration file /dev/dsk/cntndnsn block files /dev/rdsk/cntndnsn raw files cn is the controller number on the system. tn 7-bit disk loop identifier, such as switch setting dn SCSI lun n sn partition n (0-7) SEE ALSO
sar(1), format(1M), iostat(1M), ioctl(2), lseek(2), open(2), read(2), write(2), driver.conf(4), cdio(7I), dkio(7I) ANSI Small Computer System Interface-2 (SCSI-2) ANSI X3.272-1996, Fibre Channel Arbitrated Loop (FC-AL) Fibre Channel - Private Loop SCSI Direct Attach (FC-PLDA) DIAGNOSTICS
Error for command '<command name>' Error Level: Fatal Requested Block <n>, Error Block: <m>, Sense Key: <sense key name>, Vendor '<vendor name>': ASC = 0x<a> (<ASC name>), ASCQ = 0x<b>, FRU = 0x<c> The command indicated by <command name> failed. The Requested Block is the block where the transfer started and the Error Block is the block that caused the error. Sense Key, ASC, and ASCQ information is returned by the target in response to a request sense command. Check Condition on REQUEST SENSE A REQUEST SENSE command completed with a check condition. The original command will be retried a number of times. Label says <m> blocks Drive says <n> blocks There is a discrepancy between the label and what the drive returned on the READ CAPACITY command. Not enough sense information The request sense data was less than expected. Request Sense couldn't get sense data The REQUEST SENSE command did not transfer any data. Reservation Conflict The drive was reserved by another initiator. SCSI transport failed: reason 'xxxx' : {retrying|giving up} The host adapter has failed to transport a command to the target for the reason stated. The driver will either retry the command or, ulti- mately, give up. Unhandled Sense Key <n> The REQUEST SENSE data included an invalid sense key. Unit not Ready. Additional sense code 0x<n> The drive is not ready. corrupt label - bad geometry The disk label is corrupted. corrupt label - label checksum failed The disk label is corrupted. corrupt label - wrong magic number The disk label is corrupted. device busy too long The drive returned busy during a number of retries. disk not responding to selection The drive was probably powered down or died. i/o to invalid geometry The geometry of the drive could not be established. incomplete read/write - retrying/giving up There was a residue after the command completed normally. logical unit not ready The drive is not ready. no bp for disk label A bp with consistent memory could not be allocated. no mem for property Free memory pool exhausted. no memory for disk label Free memory pool exhausted. no resources for dumping A packet could not be allocated during dumping. offline Drive went offline; probably powered down. requeue of command fails<n> Driver attempted to retry a command and experienced a transport error. ssdrestart transport failed <n> Driver attempted to retry a command and experienced a transport error. transfer length not modulo <n> Illegal request size. transport rejected <n> Host adapter driver was unable to accept a command. unable to read label Failure to read disk label. unit does not respond to selection Drive went offline; probably powered down. SunOS 5.10 30 May 2003 ssd(7D)
All times are GMT -4. The time now is 10:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy