Thank your for your help,
factoryDefault.sh
Is different than yours:
if [ "$MODEL" != "WWLXN" ]; then
let DISK_COUNT=DISK_COUNT+1
cat /sys/block/sdb/device/model | grep WDC >/dev/null 2>&1
- if [ "$?" -eq "0" ]; then
let WD_DISK_COUNT=WD_DISK_COUNT+1
DISK2=sdb
- fi
So i modified from sdb to sda
if [ "$MODEL" != "WWLXN" ]; then
let DISK_COUNT=DISK_COUNT+1
cat /sys/block/sda/device/model | grep WDC >/dev/null 2>&1
- if [ "$?" -eq "0" ]; then
let WD_DISK_COUNT=WD_DISK_COUNT+1
DISK2=sda
- fi
root@ubuntu:/home/ubuntu# dmesg
root@ubuntu:/home/ubuntu# sfdisk -l
Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 4 247 244 1959930 fd Linux raid autodetect
/dev/sda2 248 279 32 257040 fd Linux raid autodetect
/dev/sda3 280 402 123 987997+ fd Linux raid autodetect
/dev/sda4 403 121600 121198 973522935 fd Linux raid autodetect
root@ubuntu:/home/ubuntu# df
df: cannot read table of mounted file systems: Input/output error
root@ubuntu:/home/ubuntu# cat /proc/partitions_
major minor #blocks name
7 0 687976 loop0
7 1 4188160 loop1
8 0 976762584 sda
8 2 257040 sda2
8 16 7818152 sdb
8 17 7818016 sdb1
root@ubuntu:/home/ubuntu#
root@ubuntu:/home/ubuntu# # cat /proc/mount
root@ubuntu:/home/ubuntu#
Nothing happens with the last command
Thank you again very very much
sam cargo