The kernel panic is due to the nash script interpreter, which is part of initramfs ( switchroot, etc. are nash subcommands), being unable to mount the file systems.
Of more interest is the fact both logical volumes are not available according to the output from lvdisplay
If the logical volumes are not available for some reason, then the filesystems on these logical volumes are not available, and thus cannot be mounted.
One possibility is that the LVM metadata is corrupt. LVM maintains the metadata backup in /etc/lvm/backup and /etc/lvm/archive, if you haven't turned off the auto backup feature of LVM. Try restoring the LVM metadata using vgcfgrestore. This should work if the damage to LVM metadata are minor. If the damage to LVM metadata is major, the disk will not be recognized. In such cases, you first need to restore the UUID for the missing device. To do so, compare the output of pvscan and cat /proc/partitions and paste the required UUID using the results of pvscan. You can then use vgcfgrestore to restore LVM metadata. If either of these methods work, make sure to fsck the filesystem(s) before mounting.
Hello everyone.
I am new to Linux so hope some one could help me here.
I have a 30 Gb HD and windows Xp is my O/S, HD is not partitioned,but I want to Partitioned it, so I could Install Knoppix(Linux)on one of the partitioned one, how could I do this? OR should I erase every thing and then... (1 Reply)
I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have:
1) Can someone tell me what command I can use to find out the system processor speed.
2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box.
3) Can... (1 Reply)
Hi,
Can someone answer to my question.I' totally new to Unix.
What is the command for removing the hard drive from the system?
Thanks a lot,
Puja (2 Replies)
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Hi
When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare?
format shows:-
-bash-3.2# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
... (12 Replies)
Hello guys,
I have got from a friend a hard disk which was used in the SCO OpenServer. He needs some data from it. I have no clue how to copy its content with Linux or Windows-I have tried few Linux distros but the result is always the same-the file system is not recognized so can't be mounted.... (4 Replies)
Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and... (7 Replies)
I have connected an external hard drive. I can't find it.
Both ls /media, fdisk -l and ls /dev show nothing.
TIA (3 Replies)
Discussion started by: Meow613
3 Replies
LEARN ABOUT CENTOS
fsck.gfs2
fsck.gfs2(8) System Manager's Manual fsck.gfs2(8)NAME
fsck.gfs2 - Offline GFS and GFS2 file system checker
SYNOPSIS
fsck.gfs2 [OPTION]... DEVICE
WARNING
All computers must have the filesystem unmounted before running fsck.gfs2. Failure to unmount from all nodes in a cluster will likely
result in filesystem corruption.
DESCRIPTION
fsck.gfs2 will check that the GFS or GFS2 file system on a device is structurally valid. It should not be run on a mounted file system.
If file system corruption is detected, it will attempt to repair the file system. There is a limit to what fsck.gfs2 can do. If important
file system structures are destroyed, such that the checker cannot determine what the repairs should be, reparations could fail.
GFS2 is a journaled file system, and as such should be able to repair damage to the file system on its own. However, faulty hardware has
the ability to write incomplete blocks to a file system thereby causing corruption that GFS2 cannot fix. The first step to ensuring a
healthy file system is the selection of reliable hardware (i.e. storage systems that will write complete blocks - even in the event of
power failure).
Note: Most file system checkers will not check the file system if it is "clean" (i.e. unmounted since the last use). The fsck.gfs program
behaves differently because the storage may be shared among several nodes in a cluster, and therefore problems may have been introduced on
a different computer. Therefore, fsck.gfs2 will always check the file system unless the -p (preen) option is used, in which case it fol-
lows special rules (see below).
OPTIONS -a Same as the -p (preen) option.
-f Force checking even if the file system seems clean.
-h Help.
This prints out the proper command line usage syntax.
-q Quiet.
-n No to all questions.
By specifying this option, fsck.gfs2 will only show the changes that would be made, but not make any changes to the filesystem.
-p Preen (same as -a: automatically repair the file system if it is dirty, and safe to do so, otherwise exit.)
Note: If the file system has locking protocol lock_nolock, the file system is considered a non-shared storage device and the fsck is
deemed safe. However, fsck.gfs2 does not know whether it was called automatically from the init process, due to options in the
/etc/fstab file. Therefore, if the locking protocol is lock_dlm and -a or -p was specified, fsck.gfs2 cannot determine whether the
disk is mounted by other nodes in the cluster. Therefore, the fsck is deemed to be unsafe and a warning is given if any damage or
dirty journals are found. In that case, the file system should be unmounted from all nodes in the cluster and fsck.gfs2 should be
run manually without the -a or -p options.
-V Version.
Print out the program version information.
-v Verbose operation.
Print more information while running.
-y Yes to all questions.
By specifying this option, fsck.gfs2 will not prompt before making changes.
fsck.gfs2(8)