03-23-2010
Your instinct is correct. Don't mess around and get tricky or you will live to regret it. Go simple and boot from knoppix.
And back up anything critical before you do any filesystem repair - even if it's on another volume or partition.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi..
i am using sun solaris...and this is the filesystem information...
you can see th slice(swap) c0t0d0s1 is giving some absord information......and during rebooting it is asking to run fsck mnually..when i run fsck manually it is giving error incorrect starting and end header...smthing like... (1 Reply)
Discussion started by: Prafulla
1 Replies
2. UNIX for Dummies Questions & Answers
I am having a problem with fsck. I am new to UNIX but was placed in a position where I must learn it. Anyway, one of the instructions that I have been given is to use 'fsck -f -y' when I am having trouble with the filesystem. The problem is that I am getting an error message that says the -f... (1 Reply)
Discussion started by: mawalton
1 Replies
3. UNIX for Dummies Questions & Answers
I have a Solaris 7 box. We got a strange error in the syslog, which read as follows:
Nov 15 11:50:16 server-01 unix: NOTICE: free inode /mount1/8025691 had size 0x20d
I consulted with a fellow sysadmin, and he suggested running "fsck -N" on the filesystem in question without unmounting it. So I... (1 Reply)
Discussion started by: GKnight
1 Replies
4. Solaris
Hi,
Can anybody tell me that is it the command "fsck" can be run by the root account only?
Thanks. (2 Replies)
Discussion started by: efang
2 Replies
5. HP-UX
Dear all
I am new for HP-UX.
I have HP rp2470 running HP-UX 10.x
When i run fsck in a root, the output is as below:
#:root> fsck
fsck: /dev/vg00/rlvol1: mounted file system
continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase... (3 Replies)
Discussion started by: hungevntelecom
3 Replies
6. Solaris
Hello.
I have created a FS /u00/ and created a non-root login under this FS. Also, disabled direct root login. Now is it possible or worth moving this login over to the root partition or allowing mount/umount + fsck from a standard account. As I am not able to run fsck for this FS.
How to... (5 Replies)
Discussion started by: panchpan
5 Replies
7. Solaris
Hi,
I need to fsck the root file system on my Solaris 9 server. It is a UFS file system but it is under Veritas control. I want to know which fsck I need to use to check the file system. The default Solaris fsck (/usr/sbin/fsck) or the Veritas (/lib/fs/vxfs/sparcv9/fsck) fsck? I take it I... (3 Replies)
Discussion started by: gwhelan
3 Replies
8. UNIX for Advanced & Expert Users
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies
9. Solaris
I am trying to root disk mirroring on SunFire V210 Server. There are two disks on this server c1t0d0 and c1t1d0 . I completed all the steps and I updated the vfstab file too. After I have updated the vfstab file I run df -h command but could not see the changes i made in vfstab. Suddenly the server... (1 Reply)
Discussion started by: newbi8321
1 Replies
10. Solaris
What can I fix this issue? I have ran below commands but everything is same.:confused:
WARNING: Last shutdown is later than time on time-of-day chip: check date.
The / file system (/dev/rdsk/c1t0d0s0) is being checked
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies
LEARN ABOUT DEBIAN
hformat
HFORMAT(1) General Commands Manual HFORMAT(1)
NAME
hformat - create a new HFS filesystem and make it current
SYNOPSIS
hformat [-f] [-l label] destination-path [partition-no]
DESCRIPTION
hformat is used to write a new HFS filesystem to a volume. A UNIX pathname to the volume's destination must be specified. The destination
may be either a block device or a regular file, but it must already exist and be writable.
An optional label can be specified to name the volume. The name must be between 1-27 characters and cannot contain a colon (:). By default,
the volume will be named Untitled.
If the destination medium is partitioned, one partition must be selected to receive the filesystem. If there is only one HFS partition on
the medium, it will be selected by default. Otherwise, the desired partition number must be specified (as the ordinal nth HFS partition) on
the command-line. The size of the partition determines the size of the resulting volume.
Partition number 0 can be specified to format the entire medium as a single filesystem without a partition map, erasing any existing parti-
tion information. Since this will destroy all the partitions, the -f option must be specified to force this operation if the medium cur-
rently contains a partition map.
If the medium is not partitioned (or if partition 0 is specified), the size or capacity of the medium determines the size of the resulting
volume.
The new volume will be empty and will become "current" so subsequent commands will refer to it. The current working directory for the vol-
ume is set to the root of the volume.
EXAMPLES
% hformat /dev/fd0
If a floppy disk is available as /dev/fd0, this formats the disk as an HFS volume named Untitled. (N.B. The floppy must already
have received a low-level format by other means.)
% dd if=/dev/zero of=disk.hfs bs=1k count=800
% hformat -l "Test Disk" disk.hfs
This sequence creates an 800K HFS volume image in the file disk.hfs in the current directory, and names it Test Disk.
% hformat -l "Loma Prieta" /dev/sd2 1
If a SCSI disk is available as /dev/sd2, this initializes the first HFS partition on the disk (which must already exist) with a new
filesystem, naming the resulting volume Loma Prieta.
% hformat -f /dev/sd2 0
This causes the medium accessible as /dev/sd2 to be reformatted as a single HFS volume, ignoring and erasing any existing partition
information on the medium. The -f option must be specified if the medium is currently partitioned; otherwise the command will fail.
NOTES
This command does not create or alter partition maps, although it can erase them (as described above). Any partition number specified on
the command line must already exist.
The smallest volume size which can be formatted with hformat is 800K.
SEE ALSO
hfsutils(1), hmount(1)
FILES
$HOME/.hcwd
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS
08-Nov-1997 HFORMAT(1)