Order of events:
- using nas4free now and then, once a week, not always on
- disassemble box
- reassemble, possible SATA cables plugged elsewhere
- start to copy 700MB .IMG file
- network share disappears within 2-3 seconds
- I reboot nas4free
- 1 of the disks starts scratching
- I see "degraded" and the disk is sychronizing
- after it completes, the disk is no longer visible
I have rev 804 on a CF and rev 847 on a USB, both embedded. I tried reimporting the config, no go. After some troubleshooting, I found the ufsid for the disk is missing. Looks like the entire partition is gone. It is possible the wrong disk was synchronized (SIFTU suggested this on IRC). I use RAID-1 with UFS (I don't like ZFS myself). SIFTU tried to help me with a remote session but we couldn't figure out much. I have local SSH access, screenshare, etc.
So, the problem is a missing/hidden partition for the RAID.
Information from server:
Disks|Software RAID|RAID1|Management
Code: Select all
Volume Name Type Size Status
WDBLACK 1 953870MB COMPLETE Code: Select all
# gmirror status
Name Status Components
mirror/WDBLACK COMPLETE ada1 (ACTIVE)
ada0 (ACTIVE)Disks|Software RAID|RAID1|Information
Code: Select all
Software RAID information and status
Geom name: WDBLACK
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2836053330
Providers:
1. Name: mirror/WDBLACK
Mediasize: 1000204885504 (931G)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ada1
Mediasize: 1000204886016 (931G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 1
Flags: NONE
GenID: 0
SyncID: 1
ID: 3557039084
2. Name: ada0
Mediasize: 1000204886016 (931G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: NONE
GenID: 0
SyncID: 1
ID: 436938841Code: Select all
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/md0 207M 203M 4.7M 98% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/da0a 103M 96M 6.9M 93% /cf
procfs 4.0k 4.0k 0B 100% /proc
/dev/md1 30M 3.4M 26M 11% /varCode: Select all
# pwd
/dev/mirror
# ls -la
total 1
dr-xr-xr-x 2 root wheel 512 Aug 28 08:13 .
dr-xr-xr-x 8 root wheel 512 Aug 28 08:12 ..
crw-r----- 1 root operator 0, 75 Aug 28 08:13 WDBLACKCode: Select all
Wrong partition type or partition number.
/dev/mirror/WDBLACKp1: Can't get UFS ID.
dumpfs: /dev/mirror/WDBLACKp1: could not find special deviceThanks.

