[Fedora-xen] Re: fsck.ext3 -a /dev/hda1

Chitlesh GOORAH chitlesh at fedoraproject.org
Tue Feb 14 07:22:16 UTC 2006


On 2/13/06, Daniel Veillard <veillard at redhat.com> wrote:

> drive, so replacing this is just wrong.
>
> > > do it have to do with the replacement of sda1 with hda1 ?
>
>   yes.
>

Ive replaced the hda1 by sda1. But still, It hangs with
ext2fs_check_if_mount: No such file or directory while determining
whether /dev/sda1 is mounted.

[root at goorah ~]# xm create -c fedora-guest1
Using config file "/etc/xen/fedora-guest1".
Started domain fedora-guest1
Linux version 2.6.15-1.51_FC5guest
(bhcompile at hs20-bc1-6.build.redhat.com) (gcc version 4.1.0 20060206
(Red Hat 4.1.0-0.23)) #1 SMP Wed Feb 8 16:41:47 EST 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000004000000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
Using x86 segment limits to approximate NX protection
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro selinux=0 3
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Xen reported: 3064.480 MHz processor.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
vmalloc area: c5000000-fb3fe000, maxmem 34000000
Memory: 61204k/73728k available (1426k kernel code, 4272k reserved,
529k data, 116k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 7668.15 BogoMIPS (lpj=15336312)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Checking 'hlt' instruction... disabled
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1139901147.631:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key F783BBA9D0D9CD97
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
Registering block device major 8
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 4, 81920 bytes)
TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 116k freed
INIT: version 2.86 booting
awk: cmd. line:1: fatal: cannot open file `/proc/mounts' for reading
(No such file or directory)
                Welcome to Fedora Core
                Press 'I' to enter interactive startup.
Setting clock : Tue Feb 14 02:12:32 EST 2006 [  OK  ]
cat: /proc/cmdline: No such file or directory
mount: mount point /dev/pts does not exist
Setting hostname localhost:  [  OK  ]
raidautorun: unable to autocreate /dev/md0
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1
ext2fs_check_if_mount: No such file or directory while determining
whether /dev/sda1 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Press enter for maintenance
(or type Control-D to continue):

--
http://clunixchit.blogspot.com




More information about the Fedora-xen mailing list