Temat: 1043nd - extroot i 2 dyski
Witam
widziałęm pare podobnych tematów, ale nie mogę sobie poradzić.
bootuje router z wpiętym pendrivem i sytuacja wygląda tak że extroot ładuje mi się poprawnie.
uci show fstab
fstab.automount=global
fstab.automount.from_fstab=1
fstab.automount.anon_mount=1
fstab.@mount[0]=mount
fstab.@mount[0].fstype=ext4
fstab.@mount[0].options=rw,noatime
fstab.@mount[0].enabled_fsck=0
fstab.@mount[0].UUID=152b0791-a897-4eba-970e-d52b5663452b
fstab.@mount[0].enabled=1
fstab.@mount[0].is_rootfs=1
fstab.@mount[1]=mount
fstab.@mount[1].fstype=ext3
fstab.@mount[1].options=rw,sync
fstab.@mount[1].UUID=f1fff132-97a8-cc01-b0fe-f13297a8cc01
fstab.@mount[1].enabled=1
fstab.@mount[1].enabled_fsck=0
mount | grep sd
/dev/sda1 on /overlay type ext4 (rw,noatime,barrier=1,data=ordered)
df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.1M 4.1M 0 100% /rom
tmpfs 14.3M 1.9M 12.4M 13% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda1 939.0M 729.3M 209.7M 78% /overlay
mini_fo:/overlay 4.1M 4.1M 0 100% /
blkid
/dev/sda1: UUID="152b0791-a897-4eba-970e-d52b5663452b"
tylko co ciekawe coś nie gra z fstab'em
/etc/init.d/fstab start
-ash: /etc/init.d/fstab: not found
w trakcie pracy routera wpinam drugi dysk na dane przez huba
blkid
/dev/sdb1: UUID="01CCA896BABB0040"
/dev/sda1: UUID="152b0791-a897-4eba-970e-d52b5663452b"
fdisk -l
Disk /dev/sda: 1000 MB, 1000341504 bytes
16 heads, 32 sectors/track, 3816 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0xfa714e25Device Boot Start End Blocks Id System
/dev/sda1 1 3816 976880 83 LinuxDisk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x44fdfe06Device Boot Start End Blocks Id System
/dev/sdb1 * 1 53125 426726531 7 HPFS/NTFS
/dev/sdb2 53126 60801 61657470 f W95 Ext'd (LBA)
/dev/sdb5 53126 60801 61657438+ 83 Linux
a po restarcie sytuacja wygląda tak:
df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.1M 4.1M 0 100% /rom
tmpfs 14.3M 240.0K 14.1M 2% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 2.5M 2.4M 60.0K 98% /overlay
mini_fo:/overlay 4.1M 4.1M 0 100% /
/dev/sda5 57.0G 16.0M 54.0G 0% /mnt/torrent
/dev/sda1 407.0G 393.7G 13.3G 97% /tmp/usb_mount/01CCA896BABB0040
/dev/sdb1 939.0M 729.3M 209.7M 78% /tmp/usb_mount/152b0791-a897-4eba-970e-d52b5663452b
mount | grep sd
/dev/sda5 on /mnt/torrent type ext3 (rw,noatime,errors=continue,data=writeback)
/dev/sda1 on /tmp/usb_mount/01CCA896BABB0040 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /tmp/usb_mount/152b0791-a897-4eba-970e-d52b5663452b type ext4 (rw,noatime,barrier=1,data=ordered)
uci show fstab
fstab.automount=global
fstab.automount.from_fstab=1
fstab.automount.anon_mount=1
fstab.@mount[0]=mount
fstab.@mount[0].options=rw,noatime
fstab.@mount[0].enabled_fsck=0
fstab.@mount[0].enabled=1
fstab.@mount[0].is_rootfs=1
fstab.@mount[0].device=/dev/sda1
fstab.@mount[0].fstype=ext4
fstab.@mount[1]=mount
fstab.@mount[1].options=rw,noatime
fstab.@mount[1].enabled_fsck=0
fstab.@mount[1].enabled=1
fstab.@mount[1].is_rootfs=0
fstab.@mount[1].device=/dev/sda5
fstab.@mount[1].fstype=ext3
fstab.@mount[1].target=/mnt/torrent
blkid
/dev/sda5: LABEL="torrent" UUID="f1fff132-97a8-cc01-b0fe-f13297a8cc01"
/dev/sda1: UUID="01CCA896BABB0040"
/dev/sdb1: UUID="152b0791-a897-4eba-970e-d52b5663452b"
i /etc/init.d/fstab już działa
co nachrzaniłem??