• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Boot rootfs from 32GB microsd?  (Read 1660 times)
androidcoolguy
Newbie
*

Karma: 0
Posts: 13


View Profile
« on: June 20, 2011, 05:18:39 PM »

Is there anyway to boot from 32 GB microsd card? I followed the instructions from http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System and I got the following error. Any kind soul mind helping? Thanks.

U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
Marvell-GuruPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
1 Storage Device(s) found

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-2.6.33.2-00003-g4b82fc0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2688524 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33.2-00003-g4b82fc0 (root@msi-linux-build.marvell.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33.fa1)) #1 PREEMPT Thu Apr 22 03:29:35 PDT 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell GuruPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=0811 rootdelay=10
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 513536KB available (4808K code, 862K data, 140K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: 00
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4014, nTxLock = 32113
msgmni has been set to 1003
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 3301 at 0x000019ca0000
Bad eraseblock 3739 at 0x00001d360000
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "root"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "root"
UBI: MTD device size:            507 MiB
UBI: number of good PEBs:        4054
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 4054
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 2/0
UBI: image sequence number: -1
UBI: background thread "ubi_bgt0d" started, PID 449
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 02:50:43:0e:0c:15
net eth1: port 0 with MAC address 02:50:43:8d:1c:71
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Registered led device: guruplug:red:health
Registered led device: guruplug:green:health
Registered led device: guruplug:red:wmode
Registered led device: guruplug:green:wmode
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mmc0: new high speed SDIO card at address 0001
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2011-06-21 01:02:26 UTC (1308618146)
Waiting 10sec before mounting root device...
usb 1-1: new high speed USB device using orion-ehci and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device using orion-ehci and address 3
scsi0 : usb-storage 1-1.1:1.0
scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9909 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9909 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:1: Attached scsi generic sg1 type 0
sd 0:0:0:1: [sdb] 65126400 512-byte logical blocks: (33.3 GB/31.0 GiB)
sd 0:0:0:1: [sdb] Write Protect is off
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:1: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:1: [sdb] Attached SCSI removable disk
EXT2-fs (sdb1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:17.
Freeing init memory: 140K
EXT2-fs (sdb1): error: ext2_lookup: deleted inode referenced: 1324513
Warning: unable to open an initial console.
EXT2-fs (sdb1): error: ext2_lookup: deleted inode referenced: 1537089
EXT2-fs (sdb1): error: ext2_lookup: deleted inode referenced: 727665
EXT2-fs (sdb1): error: ext2_lookup: deleted inode referenced: 1242753
EXT2-fs (sdb1): error: ext2_lookup: deleted inode referenced: 1242753
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[<c003062c>] (unwind_backtrace+0x0/0xd4) from [<c003da9c>] (panic+0x48/0x13c)
[<c003da9c>] (panic+0x48/0x13c) from [<c002b5fc>] (init_post+0xdc/0x114)
[<c002b5fc>] (init_post+0xdc/0x114) from [<c0008760>] (kernel_init+0xe4/0x11c)
[<c0008760>] (kernel_init+0xe4/0x11c) from [<c002c3f0>] (kernel_thread_exit+0x0/0x8)
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #1 on: June 21, 2011, 06:04:06 AM »

The file system is dirty. You need to clean it up first before using it. Take the SD to another linux computer, run "fsck -y /dev/your_sd_device". while you at this linux computer do following commands and post the output so we can see if there any other anomaly.
Code:
fdisk -l /dev/your_sd_device
ls -l /
ls -l /dev/{console,null}

Logged

Good Luck Smiley

androidcoolguy
Newbie
*

Karma: 0
Posts: 13


View Profile
« Reply #2 on: June 21, 2011, 04:24:33 PM »

I followed your advise and the following are the output. Please let me know if I need to perform anything else to fix it. Thanks.

root@mini-one:/service# fsck -y /dev/sdf1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sdf1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'root' in / (2) has deleted/unused inode 768545.  Clear? yes

Entry 'space5' in / (2) has deleted/unused inode 1030177.  Clear? yes

Entry 'dev' in / (2) has deleted/unused inode 1324513.  Clear? yes

Entry 'selinux' in / (2) has deleted/unused inode 1594321.  Clear? yes

Entry 'home' in / (2) has deleted/unused inode 866657.  Clear? yes

Entry 'bin' in / (2) has deleted/unused inode 1242753.  Clear? yes

Entry 'var' in / (2) has deleted/unused inode 1978593.  Clear? yes

Entry 'tmp' in / (2) has deleted/unused inode 989297.  Clear? yes

Entry 'sys' in / (2) has deleted/unused inode 1422625.  Clear? yes

Entry 'mnt' in / (2) has deleted/unused inode 138993.  Clear? yes

Entry 'sbin' in / (2) has deleted/unused inode 1537089.  Clear? yes

Entry 'boot' in / (2) has deleted/unused inode 596849.  Clear? yes

Entry 'proc' in / (2) has deleted/unused inode 490561.  Clear? yes

Entry 'media' in / (2) has deleted/unused inode 1349041.  Clear? yes

Entry 'opt' in / (2) has deleted/unused inode 441505.  Clear? yes

Entry 'usr' in / (2) has deleted/unused inode 1618849.  Clear? yes

Entry 'lib' in / (2) has deleted/unused inode 948417.  Clear? yes

Entry 'etc' in / (2) has deleted/unused inode 727665.  Clear? yes

Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 2 ref count is 22, should be 4.  Fix? yes

Pass 5: Checking group summary information
Block bitmap differences:  +(229376--230913) +(262144--262656) +(294912--296449) +(327680--328192) +(360448--360960) +(393216--393728) +(425984--426496) +(458752--459264) +(491520--492032) +(524288--524800) +(557056--557568) +(589824--590336) +(622592--623104) +(655360--655872) +(688128--688640) +(720896--721408) +(753664--754176) +(786432--786944) +(819200--820737) +(851968--852480) +(884736--886273) +(917504--918016) +(950272--950784) +(983040--983552) +(1015808--1016320) +(1048576--1049088) +(1081344--1081856) +(1114112--1114624) +(1146880--1147392) +(1179648--1180160) +(1212416--1212928) +(1245184--1245696) +(1277952--1278464) +(1310720--1311232) +(1343488--1344000) +(1376256--1376768) +(1409024--1409536) +(1441792--1442304) +(1474560--1475072) +(1507328--1507840) +(1540096--1540608) +(1572864--1573376) +(1605632--1607169) +(1638400--1638912) +(1671168--1671680) +(1703936--1704448) +(1736704--1737216) +(1769472--1769984) +(1802240--1802752) +(1835008--1835520) +(1867776--1868288) +(1900544--1901056) +(1933312--1933824) +(1966080--1966592) +(1998848--1999360) +(2031616--2032128) +(2064384--2064896) +(2097152--2097664) +(2129920--2130432) +(2162688--2163200) +(2195456--2195968) +(2228224--2228736) +(2260992--2261504) +(2293760--2294272) +(2326528--2327040) +(2359296--2359808) +(2392064--2392576) +(2424832--2425344) +(2457600--2458112) +(2490368--2490880) +(2523136--2523648) +(2555904--2556416) +(2588672--2589184) +(2621440--2621952) +(2654208--2655745) +(2686976--2687488) +(2719744--2720256) +(2752512--2753024) +(2785280--2785792) +(2818048--2818560) +(2850816--2851328) +(2883584--2884096) +(2916352--2916864) +(2949120--2949632) +(2981888--2982400) +(3014656--3015168) +(3047424--3047936) +(3080192--3080704) +(3112960--3113472) +(3145728--3146240) +(3178496--3179008) +(3211264--3211776) +(3244032--3244544) +(3276800--3277312) +(3309568--3310080) +(3342336--3342848) +(3375104--3375616) +(3407872--3408384) +(3440640--3441152) +(3473408--3473920) +(3506176--3506688) +(3538944--3539456) +(3571712--3572224) +(3604480--3604992) +(3637248--3637760) +(3670016--3670528) +(3702784--3703296) +(3735552--3736064) +(3768320--3768832) +(3801088--3801600) +(3833856--3834368) +(3866624--3867136) +(3899392--3899904) +(3932160--3932672) +(3964928--3965440) +(3997696--3998208) +(4030464--4030976) +(4063232--4063744) +(4096000--4097537) +(4128768--4129280) +(4161536--4162048) +(4194304--4194816) +(4227072--4227584) +(4259840--4260352) +(4292608--4293120) +(4325376--4325888) +(4358144--4358656) +(4390912--4391424) +(4423680--4424192) +(4456448--4456960) +(4489216--4489728) +(4521984--4522496) +(4554752--4555264) +(4587520--4588032) +(4620288--4620800) +(4653056--4653568) +(4685824--4686336) +(4718592--4719104) +(4751360--4751872) +(4784128--4784640) +(4816896--4817408) +(4849664--4850176) +(4882432--4882944) +(4915200--4915712) +(4947968--4948480) +(4980736--4981248) +(5013504--5014016) +(5046272--5046784) +(5079040--5079552) +(5111808--5112320) +(5144576--5145088) +(5177344--5177856) +(5210112--5210624) +(5242880--5243392) +(5275648--5276160) +(5308416--5308928) +(5341184--5341696) +(5373952--5374464) +(5406720--5407232) +(5439488--5440000) +(5472256--5472768) +(5505024--5505536) +(5537792--5538304) +(5570560--5571072) +(5603328--5603840) +(5636096--5636608) +(5668864--5669376) +(5701632--5702144) +(5734400--5734912) +(5767168--5767680) +(5799936--5800448) +(5832704--5833216) +(5865472--5865984) +(5898240--5898752) +(5931008--5931520) +(5963776--5964288) +(5996544--5997056) +(6029312--6029824) +(6062080--6062592) +(6094848--6095360) +(6127616--6128128) +(6160384--6160896) +(6193152--6193664) +(6225920--6226432) +(6258688--6259200) +(6291456--6291968) +(6324224--6324736) +(6356992--6357504) +(6389760--6390272) +(6422528--6423040) +(6455296--6455808) +(6488064--6488576) +(6520832--6521344) +(6553600--6554112) +(6586368--6586880) +(6619136--6619648) +(6651904--6652416) +(6684672--6685184) +(6717440--6717952) +(6750208--6750720) +(6782976--6783488) +(6815744--6816256) +(6848512--6849024) +(6881280--6881792) +(6914048--6914560) +(6946816--6947328) +(6979584--6980096) +(7012352--7012864) +(7045120--7045632) +(7077888--7078400) +(7110656--7111168) +(7143424--7143936) +(7176192--7176704) +(7208960--7209472) +(7241728--7242240) +(7274496--7275008) +(7307264--7307776) +(7340032--7340544) +(7372800--7373312) +(7405568--7406080) +(7438336--7438848) +(7471104--7471616) +(7503872--7504384) +(7536640--7537152) +(7569408--7569920) +(7602176--7602688) +(7634944--7635456) +(7667712--7668224) +(7700480--7700992) +(7733248--7733760) +(7766016--7766528) +(7798784--7799296) +(7831552--7832064) +(7864320--7864832) +(7897088--7897600) +(7929856--7930368) +(7962624--7964161) +(7995392--7995904) +(8028160--8028672) +(8060928--8061440) +(8093696--8094208) +(8126464--8126976)
Fix? yes

Free blocks count wrong for group #17 (32253, counted=32255).
Fix? yes

Free blocks count wrong for group #54 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #60 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #73 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #89 (30692, counted=32255).
Fix? yes

Free blocks count wrong for group #94 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #95 (28762, counted=32255).
Fix? yes

Free blocks count wrong for group #96 (32251, counted=32255).
Fix? yes

Free blocks count wrong for group #97 (32247, counted=32255).
Fix? yes

Free blocks count wrong for group #106 (32207, counted=32255).
Fix? yes

Free blocks count wrong for group #116 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #117 (30379, counted=32255).
Fix? yes

Free blocks count wrong for group #121 (32252, counted=32255).
Fix? yes

Free blocks count wrong for group #126 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #141 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #152 (31219, counted=32255).
Fix? yes

Free blocks count wrong for group #162 (32174, counted=32255).
Fix? yes

Free blocks count wrong for group #165 (32249, counted=32255).
Fix? yes

Free blocks count wrong for group #174 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #188 (31168, counted=32255).
Fix? yes

Free blocks count wrong for group #195 (32254, counted=32255).
Fix? yes

Free blocks count wrong for group #198 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #199 (5022, counted=32255).
Fix? yes

Free blocks count wrong for group #200 (22237, counted=32255).
Fix? yes

Free blocks count wrong for group #201 (26913, counted=32255).
Fix? yes

Free blocks count wrong for group #202 (24942, counted=32255).
Fix? yes

Free blocks count wrong for group #203 (29001, counted=32255).
Fix? yes

Free blocks count wrong for group #204 (31385, counted=32255).
Fix? yes

Free blocks count wrong for group #205 (32118, counted=32255).
Fix? yes

Free blocks count wrong for group #206 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #207 (20231, counted=32255).
Fix? yes

Free blocks count wrong for group #208 (22147, counted=32255).
Fix? yes

Free blocks count wrong for group #209 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #210 (24215, counted=32255).
Fix? yes

Free blocks count wrong for group #211 (0, counted=32255).
Fix? yes

Free blocks count wrong for group #212 (21359, counted=32255).
Fix? yes

Free blocks count wrong for group #242 (28159, counted=32255).
Fix? yes

Free blocks count wrong for group #243 (64511, counted=31230).
Fix? yes

Free blocks count wrong for group #244 (28658, counted=32255).
Fix? yes

Free blocks count wrong (7868136, counted=7999732).
Fix? yes

Free inodes count wrong for group #17 (8174, counted=8176).
Fix? yes

Directories count wrong for group #17 (2, counted=0).
Fix? yes

Free inodes count wrong for group #54 (8175, counted=8176).
Fix? yes

Directories count wrong for group #54 (1, counted=0).
Fix? yes

Free inodes count wrong for group #60 (8175, counted=8176).
Fix? yes

Directories count wrong for group #60 (1, counted=0).
Fix? yes

Free inodes count wrong for group #73 (8175, counted=8176).
Fix? yes

Directories count wrong for group #73 (1, counted=0).
Fix? yes

Free inodes count wrong for group #89 (6672, counted=8176).
Fix? yes

Directories count wrong for group #89 (166, counted=0).
Fix? yes

Free inodes count wrong for group #94 (6603, counted=8176).
Fix? yes

Directories count wrong for group #94 (144, counted=0).
Fix? yes

Free inodes count wrong for group #95 (8173, counted=8176).
Fix? yes

Directories count wrong for group #95 (1, counted=0).
Fix? yes

Free inodes count wrong for group #96 (8172, counted=8176).
Fix? yes

Directories count wrong for group #96 (2, counted=0).
Fix? yes

Free inodes count wrong for group #97 (8168, counted=8176).
Fix? yes

Directories count wrong for group #97 (4, counted=0).
Fix? yes

Free inodes count wrong for group #106 (8129, counted=8176).
Fix? yes

Directories count wrong for group #106 (19, counted=0).
Fix? yes

Free inodes count wrong for group #116 (7098, counted=8176).
Fix? yes

Directories count wrong for group #116 (129, counted=0).
Fix? yes

Free inodes count wrong for group #121 (8173, counted=8176).
Fix? yes

Directories count wrong for group #121 (3, counted=0).
Fix? yes

Free inodes count wrong for group #126 (8174, counted=8176).
Fix? yes

Directories count wrong for group #126 (1, counted=0).
Fix? yes

Free inodes count wrong for group #141 (8175, counted=8176).
Fix? yes

Directories count wrong for group #141 (1, counted=0).
Fix? yes

Free inodes count wrong for group #152 (8080, counted=8176).
Fix? yes

Directories count wrong for group #152 (1, counted=0).
Fix? yes

Free inodes count wrong for group #162 (7450, counted=8176).
Fix? yes

Directories count wrong for group #162 (44, counted=0).
Fix? yes

Free inodes count wrong for group #165 (8170, counted=8176).
Fix? yes

Directories count wrong for group #165 (6, counted=0).
Fix? yes

Free inodes count wrong for group #174 (8175, counted=8176).
Fix? yes

Directories count wrong for group #174 (1, counted=0).
Fix? yes

Free inodes count wrong for group #188 (8061, counted=8176).
Fix? yes

Directories count wrong for group #188 (1, counted=0).
Fix? yes

Free inodes count wrong for group #195 (8175, counted=8176).
Fix? yes

Directories count wrong for group #195 (1, counted=0).
Fix? yes

Free inodes count wrong for group #198 (5126, counted=8176).
Fix? yes

Directories count wrong for group #198 (208, counted=0).
Fix? yes

Free inodes count wrong for group #199 (5781, counted=8176).
Fix? yes

Directories count wrong for group #199 (268, counted=0).
Fix? yes

Free inodes count wrong for group #200 (7014, counted=8176).
Fix? yes

Directories count wrong for group #200 (261, counted=0).
Fix? yes

Free inodes count wrong for group #201 (5773, counted=8176).
Fix? yes

Directories count wrong for group #201 (253, counted=0).
Fix? yes

Free inodes count wrong for group #202 (3903, counted=8176).
Fix? yes

Directories count wrong for group #202 (19, counted=0).
Fix? yes

Free inodes count wrong for group #203 (6004, counted=8176).
Fix? yes

Directories count wrong for group #203 (95, counted=0).
Fix? yes

Free inodes count wrong for group #204 (7948, counted=8176).
Fix? yes

Directories count wrong for group #204 (134, counted=0).
Fix? yes

Free inodes count wrong for group #205 (8041, counted=8176).
Fix? yes

Directories count wrong for group #205 (131, counted=0).
Fix? yes

Free inodes count wrong for group #206 (5865, counted=8176).
Fix? yes

Directories count wrong for group #206 (161, counted=0).
Fix? yes

Free inodes count wrong for group #209 (5926, counted=8176).
Fix? yes

Directories count wrong for group #209 (110, counted=0).
Fix? yes

Free inodes count wrong for group #210 (6024, counted=8176).
Fix? yes

Directories count wrong for group #210 (304, counted=0).
Fix? yes

Free inodes count wrong for group #242 (5458, counted=8176).
Fix? yes

Directories count wrong for group #242 (120, counted=0).
Fix? yes

Free inodes count wrong for group #243 (8071, counted=8176).
Fix? yes

Directories count wrong for group #243 (9, counted=0).
Fix? yes

Free inodes count wrong (2005277, counted=2035804).
Fix? yes


/dev/sdf1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdf1: 20/2035824 files (0.0% non-contiguous), 140044/8139776 blocks

root@mini-one:/service#

root@mini-one:/service# fdisk -l /dev/sdf1

Disk /dev/sdf1: 33.3 GB, 33340522496 bytes
64 heads, 32 sectors/track, 31796 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdf1 doesn't contain a valid partition table
root@mini-one:/service# ls -l /         
total 64
lrwxrwxrwx   1 root     root   33 2011-04-02 13:56 appengine-java-sdk -> /service/appengine-java-sdk-1.4.3
drwxr-xr-x   2 root     root 4096 2011-04-21 01:59 bin
drwxr-xr-x   2 root     root 4096 2010-01-25 03:53 boot
drwxr-xr-x  11 root     root 4220 2011-06-21 23:02 dev
lrwxrwxrwx   1 www-data dev    30 2011-04-05 16:58 drupalroot -> /service/www/pressflow-6.20.97
lrwxrwxrwx   1 root     root   23 2011-05-08 16:04 drupalroot7 -> /service/www/drupal-7.0
drwxr-xr-x  84 root     root 4096 2011-06-21 00:10 etc
drwxr-xr-x   6 root     root 4096 2011-04-20 00:43 home
drwxr-xr-x  11 root     root 4096 2011-05-29 17:15 lib
drwxr-xr-x   7 root     root 4096 2011-05-03 20:17 media
drwxr-xr-x   3 root     root 4096 2011-06-18 19:41 mnt
lrwxrwxrwx   1 root     root   13 2011-04-28 00:00 music -> /space2/Music
drwxr-xr-x   2 root     root 4096 2010-03-30 10:52 opt
dr-xr-xr-x 129 root     root    0 1970-01-01 00:00 proc
lrwxrwxrwx   1 root     root   15 2011-04-21 22:34 public -> /service/public
drwxr-xr-x  13 root     root 4096 2011-05-25 17:43 root
drwxr-xr-x   2 root     root 4096 2011-05-29 17:15 sbin
lrwxrwxrwx   1 root     root   22 2011-04-02 13:56 scripts -> /service/scripts/nginx
drwxr-xr-x   2 root     root 4096 2008-09-16 07:48 selinux
lrwxrwxrwx   1 root     root   11 2011-05-06 00:09 service -> /media/usb0
drwxr-xr-x   2 root     root 4096 2011-05-03 20:18 space5
drwxr-xr-x   2 root     root 4096 2010-03-30 10:52 srv
drwxr-xr-x  12 root     root    0 1970-01-01 00:00 sys
drwxrwxrwt   4 root     root 4096 2011-06-21 00:10 tmp
drwxr-xr-x  10 root     root 4096 2011-04-20 20:22 usr
drwxr-xr-x  14 root     root 4096 2011-04-07 00:34 var
lrwxrwxrwx   1 root     root   13 2011-04-28 00:00 video -> /space2/Video
root@mini-one:/service# ls -l /dev/{console,null}
crw------- 1 root root 5, 1 2011-06-21 00:10 /dev/console
crw-rw-rw- 1 root root 1, 3 2011-06-21 00:10 /dev/null
root@mini-one:/service#
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #3 on: June 22, 2011, 05:32:00 AM »

You may have lost some files but the system seems to be intact. I guess you can give it a try to see if you can load this time.

The only thing I think is more of my fault is I want too see how many partition your have. the command "fdisk -l /dev/sdf1" should have been "fdisk -l /dev/sdf" without the "1" at the end. but that is ok. you have show me the sdf1 is the root disk and you were mounting from partition 1.

I think the article you follow given wrong instruction. To copy a live (mounted) file system using "cp" is wrong. should have been command like "cpio" or "tar" even "rsync" could do a better job. also the live file system require all in memory info flush down first before copy.
Logged

Good Luck Smiley

Pages: [1]
Print
Jump to: