Sponsored Content
Full Discussion: Run fsck on root file system
Top Forums UNIX for Dummies Questions & Answers Run fsck on root file system Post 302406712 by jurif on Tuesday 23rd of March 2010 04:41:28 PM
Old 03-23-2010
I don't think so

because if i boot to single user mode than root fs is mounted read only and therefore fixing on that partition isn't possible

from fsck_ffs(8)

Quote:
If the operator does not have write permission on the file system fsck_ffs will default to a -n action.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

run fsck on swap slice?

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

File System Check (fsck)

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

fsck on a mounted file system?

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

fsck run

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

fsck! How to run Full File System Check

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

Run fsck from standard login

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

FSCK root file system (/dev/vx/dsk/bootdg/rootvol)

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

fsck.gfs2 outputs "RG recovery impossible; I can't fix this file system"

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

Not able to run fsck on root file system

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

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

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
WAPBL(4)						   BSD Kernel Interfaces Manual 						  WAPBL(4)

NAME
WAPBL -- Write Ahead Physical Block Logging file system journaling SYNOPSIS
options WAPBL options WAPBL_DEBUG DESCRIPTION
The WAPBL driver provides meta-data journaling for file systems. In particular, it is used with the fast file system (FFS) to provide rapid file system consistency checking after a system outage. It also provides better general-use performance over regular FFS. WAPBL currently maintains its journal in one of two locations: - After the file system The journal is placed in the same partition as the file system, but between the file system and the end of the partition. - Within the file system The journal is allocated as a special contiguous file within the file system. The journal file is not visible via normal file system access. A new journal is created automatically when a file system is mounted via mount(8) with the -o log option. If no journal size has been speci- fied with tunefs(8), then the size of the journal will be based on 1MB of journal per 1GB of file system, to a maximum journal size of 64MB. If there is adequate space between the end of the file system and the end of the partition, then unless the journal size has been specified with tunefs(8) then the journal will be created after the file system. To obtain space between the file system and the end of the partition the size of the partition can be adjusted using disklabel(8). Care must be taken not to damage existing data on existing partitions, but this method will work well if, for example, a swap partition can be shrunk in order to accommodate the journal after the file system on a partition before the swap partition. For a new file system, newfs -s -64m wd0a can be used to leave space for a 64MB journal at the end of /dev/wd0a. To specify the size of the journal within the file system tunefs(8) can be used as follows: tunefs -l 64m wd0a to indicate that a journal of size 64MB on the file system on /dev/wd0a should be created the next time that file system is mounted. This must be done before the file system is mounted with the ``-o log'' option. For existing file systems and general use, however, simply using mount -o log /dev/wd0a /mnt will be sufficient to create an appropriate journal within the file system. Running tunefs -l 0 wd0a will schedule the log for removal on the next read-write mount, and running tunefs -l 0 wd0a followed by mount -o log /dev/wd0a /mnt will remove the log and then re-create it with the default size. This method can also be used to grow or shrink the size of the journal. With the journal, fsck(8) is no longer required at system boot. If the system has been shutdown in an unclean fashion then the journal will be replayed when the file system is mounted. fsck(8) can still be used to force a consistency check of the file system should that be desired. For kernel developers, the compile time option WAPBL_DEBUG turns on debugging. SEE ALSO
config(1), fsck(8), mount(8), newfs(8), umount(8) HISTORY
WAPBL was originally written by Darrin B. Jewell while at Wasabi Systems Inc. Wasabi Systems contributed the code to NetBSD and was inte- grated by Simon Burge, Antti Kantee, Andy Doran, and Greg Oster. WAPBL first appeared in NetBSD 5.0. CAVEATS
Older releases of the system, and other systems that support the UFS format should only access WAPBL file systems in read-only mode. Addi- tionally, the fsck(8) command from such systems should not be run against WAPBL file systems. Failure to observe these guidelines may damage the file system. WAPBL requires the super block to be in the UFS2 format. The super block format can be checked using the -s option with dumpfs(8), and older FFSv1 file systems will need to be updated to the newer super block layout with the -c option to fsck_ffs(8). fsync(2) causes all outstanding metadata transactions to be committed to disk, introducing additional latency. This can have an impact on database software and other software that calls fsync(2) often. In-file system log allocation should be done on a relatively quiet file system. The error path for log allocation failures could result in a ``dangling inode'' issue, requiring an fsck(8) to fix. BSD
July 26, 2012 BSD
All times are GMT -4. The time now is 08:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy