Sponsored Content
Full Discussion: Using ufsdump and ufsrestore
Operating Systems Solaris Using ufsdump and ufsrestore Post 302176447 by charleywasharo on Tuesday 18th of March 2008 09:33:52 AM
Old 03-18-2008
Error

I used the ufsrestore command to restore all my files from the tape media but I am having trouble booting my server. I get the following error messages:-

checking ufs filesystems
/dev/rdsk/c0t4d0s3: I/O error
Can't Open /dev/rdsk/c0t4d0s3: I/O error
/dev/rdsk/c0t4d0s3: CAN'T CHECK FILESYSTEM
/dev/rdsk/c0t4d0s3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

WARNING-Unable to repair one or more filesystems
Run fsck manuallly (fsck filesystem...)
Exit the shell when done to continue the boot process

Type control-d to proceed with normal startup,
(or give root password for system maintenance): DHCP negotiation failed, perhaps misconfigured or no DHCP server available
DHCP negotiation failed, perhaps misconfigured or no DHCP server available

how can I repair my solaris system in this case?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UFSDUMP & UFSRESTORE problems

Hi, guys ! I need some expert help on following problem: When trying to restore content of a machine using another backup machine using Ufsdump/Ufsrestore, it worked on /local1, but when attemting to do the same on /local2,/local3 and /local4, I get permission problems. Running superuser does... (9 Replies)
Discussion started by: DGoubine
9 Replies

2. Solaris

ufsrestore

on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to: connect to tape drive on HostA. change directory to /dir0/dir1 on tape and restore everything under that path to /dir1 directory. could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies

3. Solaris

ufsrestore?

I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps: 1. booted from cdrom to single user mode boot cdrom -s 2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies

4. UNIX for Dummies Questions & Answers

ufsdump/ufsrestore problem

I ran ufsdump as follows............... # ufsdump 9ucf /dev/rmt/0n /dev/dsk/c1t9d0s3 DUMP: Writing 63 Kilobyte records DUMP: Date of this level 9 dump: Tue 23 Oct 2007 02:19:40 PM PDT DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c1t9d0s3 (gambler:/apps) to... (2 Replies)
Discussion started by: shorty
2 Replies

5. Solaris

ufsrestore

Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies

6. Filesystems, Disks and Memory

Building New server using Ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

7. UNIX for Advanced & Expert Users

Building New server using ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

8. Solaris

How to pipe ufsdump to ufsrestore?

Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (0 Replies)
Discussion started by: hadimotamedi
0 Replies

9. Solaris

How to pipe ufsdump to ufsrestore?

Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

10. Solaris

Using ufsrestore from a DAT tape of ufsdump backup

hi, was wondering if there is a problem with the patches, and if we wish to restore everything back to square one, how should we go about using ufsrestore from a DAT tape of ufsdump backup data ? (1 Reply)
Discussion started by: Exposure
1 Replies
fsck_udfs(1M)						  System Administration Commands					     fsck_udfs(1M)

NAME
fsck_udfs - file system consistency check and interactive repair SYNOPSIS
fsck -F udfs [generic_options] [special ...] fsck -F udfs [generic_options] [-o specific_options] [special ...] DESCRIPTION
fsck audits and interactively repairs inconsistent conditions on file systems. A file system to be checked can be specified by giving the name of the block or character special device or by giving the name of its mount point if a matching entry exists in /etc/vfstab. special represents the character special device, for example, /dev/rdsk/c0t2d0s0, on which the file system resides. The character special device, not the block special device should be used. fsck does not work on a mounted block device. If no special device is specified, all udfs file systems specified in the vfstab file with a fsckdev entry are checked. If the -p (preen) option is specified, udfs file systems with an fsckpass number greater than 1 are checked in parallel. See fsck(1M). In the case of correcting serious inconsistencies, by default, fsck asks for confirmation before making a repair and waits for the operator to respond with either yes or no. If the operator does not have write permission on the file system, fsck defaults to the -n (no correc- tions) option. See fsck(1M). Repairing some file system inconsistencies can result in loss of data. The amount and severity of data loss can be determined from the diagnostic output. fsck automatically corrects innocuous inconsistencies. It displays a message for each corrected inconsistency that identifies the nature of the correction which took place on the file system. After successfully correcting a file system, fsck prints the number of files on that file system and the number of used and free blocks. Inconsistencies checked are as follows: o Blocks claimed by more than one file or the free list o Blocks claimed by a file or the free list outside the range of the file system o Incorrect link counts in file entries o Incorrect directory sizes o Bad file entry format o Blocks not accounted for anywhere o Directory checks, file pointing to unallocated file entry and absence of a parent directory entry o Descriptor checks, more blocks for files than there are in the file system o Bad free block list format o Total free block count incorrect OPTIONS
The following options are supported: generic_options The following generic_options are supported: -m Check but do not repair. This option checks to be sure that the file system is suitable for mounting, and returns the appropriate exit status. If the file system is ready for mounting, fsck displays a message such as: udfs fsck: sanity check: /dev/rdsk/c0t2d0s0 okay -n | -N Assume a no response to all questions asked by fsck; do not open the file system for writing. -V Echo the expanded command line, but do not execute the command. This option can be used to verify and to validate the command line. -y | -Y Assume a yes response to all questions asked by fsck. -o specific_options Specify udfs file system specific options in a comma-separated list with no intervening spaces. The following specific_options are available: f Force checking of file systems regardless of the state of their logical volume integrity state. p Check and fix the file system non-interactively (preen). Exit immediately if there is a problem that requires intervention. This option is required to enable parallel file system checking. w Check writable file systems only. FILES
/etc/vtstab List of default parameters for each file system. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWudf | +-----------------------------+-----------------------------+ SEE ALSO
fsck(1M), fsdb_udfs(1M), fstyp(1M), mkfs(1M), mkfs_udfs(1M), mountall(1M), reboot(1M), vfstab(4), attributes(5) WARNINGS
The operating system buffers file system data. Running fsck on a mounted file system can cause the operating system's buffers to become out of date with respect to the disk. For this reason, use fsck only when the file system is unmounted. If this is not possible, take care that the system is quiescent and that it is rebooted immediately after running fsck. A panic will probably occur if running fsck on a file sys- tem that modifies the file system while it is mounted. If an unmount of the file system is not done before the system is shut down, the file system might become corrupted. In this case, a file system check needs to be completed before the next mount operation. DIAGNOSTICS
not writable You cannot write to the device. Currently Mounted on The device is already mounted and cannot run fsck. FILE SYSTEM WAS MODIFIED File system has been modified to bring it to a consistent state. Can't read allocation extent Cannot read the block containing allocation extent. Bad tag on alloc extent Invalid tag detected when expecting an allocation extent. Volume sequence tag error Invalid tag detected in the volume sequence. Space bitmap tag error Invalid tag detected in the space bitmap. UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Use fsck in interactive mode. SunOS 5.10 5 September 2000 fsck_udfs(1M)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy