I have a Terastation Pro v1 running OpenTera_v2
A few months ago I got a MBP running OSX 10.6.2. While transferring large amounts of data to the TS the mac would report an error. Once this happened the share would allow me to connect but it would show no data. A reboot would remedy this.
Thinking it was an issue between the mac and using Samba v2 I went ahead and loaded OpenTera_v2 and am now using Samba v3. Problem not solved.
Today I decided to do some further digging and found this in the dmesg:
Filesystem "md(9,1)": XFS internal error xfs_btree_check_sblock at line 342 of file xfs_btree.c. Caller 0xc008b548
This architecture does not implement dump_stack()
xfs_force_shutdown(md(9,1),0x8) called from line 1071 of file xfs_trans.c. Return address = 0xc00e3748
Filesystem "md(9,1)": Corruption of in-memory data detected. Shutting down filesystem: md(9,1)
Please umount the filesystem, and rectify the problem(s)
This now appears to be the error that is triggered whenever the share disappears.
I then decided to run xfs_check directly on the filesystem after unmounting it. Here is some of the output before the TS shut itself down:
xfs_check: warning - cannot get sector size from block device /dev/md1: Invalid argument
bad magic # 0xe90103 in btcnt block 6/5
bad format 0 for inode 100991018 type 0
agf_freeblks 1035267, counted 1029180 in ag 6
bad nblocks 2 for inode 671091259, counted 1
bad nblocks 2 for inode 671091260, counted 1
After about 10 minutes I lost connectivity completely to the TS, TS displayed something like System Shutdown on the LCD, and I had to hit the power button.
The TS is now in the middle of a RAID check, second RAID check within 24 hours, which will take most of the day.
I believe I need to run xfs_check and xfs_repair on the filesystem but unmounting the array seems to trigger the TS to shut itself down in an error.
1) Anyone know what needs to be done before unmounting the array so that the TS will not halt itself?
2) Is running xfs_repair the right way to go or should I be going in a different direction.
3) Anyone seen this before and have any further advise?
If I can't figure out how to run xfs_check without the system shutting down I guess my only other option is to format. Finding enough space to backup the array will be painful so trying to avoid that.
Thanks so much in advance for your help.