[root@xenserver hadoop6]# xm console hadoop1
WARNING: xend/xm
is
deprecated.
PCI: Warning: Cannot find a gap
in
the 32bit address range
PCI: Unassigned devices
with
32bit resource registers may
break
!
PCI: Fatal: No config space access
function
found
ipmi_si: Could not
set
up I/O space
ipmi_si: Could not
set
up I/O space
ipmi_si: Could not
set
up I/O space
Welcome to CentOS
Starting udev: [ OK ]
Setting hostname hadoop1: [ OK ]
Setting up Logical Volume Management:
3
logical volume(s)
in
volume group
"VolGroup"
now active
[ OK ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext4 (
1
) -- /] fsck.ext4 -a /dev/mapper/VolGroup-lv_root
/dev/mapper/VolGroup-lv_root: clean,
62607
/
3276800
files,
1911998
/
13107200
blocks
[/sbin/fsck.ext4 (
1
) -- /boot] fsck.ext4 -a /dev/xvda1
/dev/xvda1: recovering journal
/dev/xvda1: clean,
38
/
128016
files,
49624
/
512000
blocks
[/sbin/fsck.ext4 (
1
) -- /home] fsck.ext4 -a /dev/mapper/VolGroup-lv_home
/dev/mapper/VolGroup-lv_home: recovering journal
/dev/mapper/VolGroup-lv_home: clean,
8755
/
29204480
files,
1969939
/
116811776
blocks
[ OK ]
Remounting root filesystem
in
read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling /etc/fstab swaps: [ OK ]
Entering non-interactive startup
Starting monitoring
for
VG VolGroup:
3
logical volume(s)
in
volume group
"VolGroup"
monitored
[ OK ]
ip6tables: Applying firewall rules: [ OK ]
Bringing up loopback
interface
: [ OK ]
Bringing up
interface
eth0: Determining
if
ip address
10.1
.
2.184
is
already
in
use
for
device eth0...
[ OK ]
Starting auditd: [ OK ]
Starting system logger: [ OK ]
Mounting filesystems: [ OK ]
Retrigger failed udev events[ OK ]
Starting sshd: [ OK ]
Starting postfix: [ OK ]
Starting crond: [ OK ]
CentOS release
6.5
(Final)
Kernel
2.6
.
32
-
431
.el6.x86_64 on an x86_64
hadoop1 login: root
Password:
Last login: Tue Jan
19
10
:
59
:
56
from
10.1
.
2.192
[root@hadoop1 ~]# hadoop fsck /
-bash: hadoop: command not found
[root@hadoop1 ~]# cd /home/hadoop/hadoop-
1.0
.
4
/bin/
[root@hadoop1 bin]# ./hadoop fsck /
FSCK started by root from /
10.1
.
2.184
for
path / at Tue Jan
19
20
:
59
:
55
CST
2016
........................
/data/appstore/chDownloadForPlayer/
2016
/
01
/
14
/
00
/output/_logs/history/job_201601082048_0706_conf.xml: CORRUPT block blk_-
1739242649335851318
............................................................................
...............................................................................................
/data/appstore/chRetainAndFresh/
2016
/
01
/
14
/
00
/output/_logs/history/job_201601082048_0707_conf.xml: CORRUPT block blk_5175780252882211574
.....
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
..................................................................................FSCK ended at Tue Jan
19
20
:
59
:
56
CST
2016
in
1469
milliseconds
Permission denied: user=root, access=READ_EXECUTE, inode=
".staging"
:hadoop:supergroup:rwx------
Fsck on path
'/'
FAILED