- either the dev node has been deleted !
- or partition 1 did not been created (or deleted ???)
Then need new output
- Code: Select all
ls -l /dev/sda[0-9]
cat /proc/partitions
gdisk -l /dev/sda
ls -l /dev/sda[0-9]
cat /proc/partitions
gdisk -l /dev/sda
root@fvdwsl-base:/ # [b]ls -l /dev/sda[0-9][/b]
brw-rw---- 1 root root 8, 1 2008-01-03 21:06 /dev/sda1
brw-rw---- 1 root root 8, 2 2008-01-03 21:06 /dev/sda2
brw-rw---- 1 root root 8, 3 2011-11-16 12:00 /dev/sda3
brw-rw---- 1 root root 8, 4 2008-01-03 21:06 /dev/sda4
brw-rw---- 1 root root 8, 5 2008-01-03 21:06 /dev/sda5
brw-rw---- 1 root root 8, 6 2012-03-11 11:10 /dev/sda6
brw-rw---- 1 root root 8, 7 2008-01-03 21:06 /dev/sda7
brw-rw---- 1 root root 8, 8 2011-11-16 12:18 /dev/sda8
brw-rw-rw- 1 root root 8, 9 2013-08-09 21:22 /dev/sda9
root@fvdwsl-base:/ #[b] cat /proc/partitions[/b]
major minor #blocks name
1 0 4096 ram0
1 1 4096 ram1
1 2 4096 ram2
1 3 4096 ram3
1 4 4096 ram4
1 5 4096 ram5
1 6 4096 ram6
1 7 4096 ram7
1 8 4096 ram8
1 9 4096 ram9
1 10 4096 ram10
1 11 4096 ram11
1 12 4096 ram12
1 13 4096 ram13
1 14 4096 ram14
1 15 4096 ram15
31 0 500 mtdblock0
31 1 4 mtdblock1
8 0 976762584 sda
8 4 1 sda4
8 5 835380 sda5
8 6 64260 sda6
8 7 514080 sda7
8 8 973474740 sda8
8 16 976762584 sdb
8 20 1 sdb4
8 21 835380 sdb5
8 22 64260 sdb6
8 23 514080 sdb7
8 24 973474740 sdb8
9 0 973474560 md0
root@fvdwsl-base:/ # [b]gdisk -l /dev/sda[/b]
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 71EF4C53-A737-4BF1-AE8F-174512F59803
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 3748181 sectors (1.8 GiB)
Number Start (sector) End (sector) Size Code Name
5 3341520 5012279 815.8 MiB 8300 Linux filesystem
6 5140800 5269319 62.8 MiB 8300 Linux filesystem
7 5397840 6425999 502.0 MiB 8300 Linux filesystem
8 6554520 1953503999 928.4 GiB FD00 Linux RAID
root@fvdwsl-base:/ #
mdadm --detail /dev/md0
mdadm --examine /dev/sd[ab]8
cat /etc/mdadm.conf
free
gdisk -l /dev/sdb
login as: root
root@192.168.4.252's password:
root@fvdwsl-base:/ # mdadm --detail /dev/md0
/dev/md0:
Version : 1.0
Creation Time : Wed Nov 16 12:18:24 2011
Raid Level : raid1
Array Size : 973474560 (928.38 GiB 996.84 GB)
Used Dev Size : 973474560 (928.38 GiB 996.84 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Thu Jan 11 15:05:48 2018
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : fvdwsl-base.local:0 (local to host fvdwsl-base.local)
UUID : e329d3c0:6044131d:cf0e2c74:ac85918e
Events : 2
Number Major Minor RaidDevice State
0 8 8 0 active sync /dev/sda8
1 8 24 1 active sync /dev/sdb8
root@fvdwsl-base:/ # mdadm --examine /dev/sd[ab]8
/dev/sda8:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : e329d3c0:6044131d:cf0e2c74:ac85918e
Name : fvdwsl-base.local:0 (local to host fvdwsl-base.local)
Creation Time : Wed Nov 16 12:18:24 2011
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1946949200 (928.38 GiB 996.84 GB)
Array Size : 973474560 (928.38 GiB 996.84 GB)
Used Dev Size : 1946949120 (928.38 GiB 996.84 GB)
Super Offset : 1946949464 sectors
Unused Space : before=0 sectors, after=328 sectors
State : clean
Device UUID : 73457de6:8c7acdc9:99500896:869ceb19
Internal Bitmap : -16 sectors from superblock
Update Time : Thu Jan 11 15:05:48 2018
Bad Block Log : 512 entries available at offset -8 sectors
Checksum : 58a24e08 - correct
Events : 2
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb8:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : e329d3c0:6044131d:cf0e2c74:ac85918e
Name : fvdwsl-base.local:0 (local to host fvdwsl-base.local)
Creation Time : Wed Nov 16 12:18:24 2011
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1946949200 (928.38 GiB 996.84 GB)
Array Size : 973474560 (928.38 GiB 996.84 GB)
Used Dev Size : 1946949120 (928.38 GiB 996.84 GB)
Super Offset : 1946949464 sectors
Unused Space : before=0 sectors, after=328 sectors
State : clean
Device UUID : 97b470a3:31b6b432:88e0aae7:a221de02
Internal Bitmap : -16 sectors from superblock
Update Time : Thu Jan 11 15:05:48 2018
Bad Block Log : 512 entries available at offset -8 sectors
Checksum : b9120ddc - correct
Events : 2
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
root@fvdwsl-base:/ # cat /etc/mdadm.conf
CREATE owner=root group=root mode=0666 auto=yes metadata=1.0
PROGRAM /usr/bin/mdadm-events
DEVICE /dev/sd* /dev/se*
MAILADDR supporto@sintel.com
ARRAY /dev/md0 metadata=1.0 level=raid1 num-devices=2 UUID=e329d3c0:6044131d:cf0e2c74:ac85918e
root@fvdwsl-base:/ # free
total used free shared buffers
Mem: 249988 145232 104756 6008 61984
-/+ buffers: 83248 166740
Swap: 0 0 0
root@fvdwsl-base:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************
Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 78FD4B70-D391-4B77-801B-AA37EA1BB013
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 3748181 sectors (1.8 GiB)
Number Start (sector) End (sector) Size Code Name
5 3341520 5012279 815.8 MiB 8300 Linux filesystem
6 5140800 5269319 62.8 MiB 8300 Linux filesystem
7 5397840 6425999 502.0 MiB 8300 Linux filesystem
8 6554520 1953503999 928.4 GiB FD00 Linux RAID
root@fvdwsl-base:/ #
cd /rw_fs
tar -czf sda5-etc-24jan.tgz etc .ssh
mkdir /sda5
mount /dev/sda5 /sda5
cd /sda5
ls (<=== you should see the file sda5-etc-24jan.tgz)
tftp -l sda5-etc-24jan.tgz -r sda5-etc-24jan.tgz -p ip-pc
cd /
umount /sda5
mount (<== check you have no longer lines beginning by "/dev/sda5 on")
./fvdw-sl-programs
cd /
tftp -l sda5-etc-24jan.tgz -r sda5-etc-24jan.tgz -g ip-pc (<--------------this time we use the option '-g' (<=> get) instead of the option '-p' (<=> put)
mkdir /sda5 (may occur a warning as /sda5 should yet exist)
mount /dev/sda5 /sda5
tar -xzf /sda5-etc-24jan.tgz -C /sda5
Return to Lacie 2Big Network vs2
Users browsing this forum: No registered users and 4 guests