Checking md1 finished with status code 4: fsck 1.41.14 (22-Dec-2010) /dev/md1: The filesystem size (according to the superblock) is 487857856 blocks The physical size of the device is 487857664 blocks Either the superblock or the partition table is likely to be corrupt! /dev/md1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p optio
Hi,
I flashed my DNS-323 with ALT-F 0.1RC3. Before I Used Dlink-Firmware 1.10 with 2 Samsung-Disks (HD103UJ) as JBOD.
After flashing ALT-F I create a User and I can access md1
- but there are no folders with my old data inside.
I get this message in the Status-Board:Checking md1 finished with status code 4: fsck 1.41.14 (22-Dec-2010) /dev/md1: The filesystem size (according to the superblock) is 487857856 blocks The physical size of the device is 487857664 blocks Either the superblock or the partition table is likely to be corrupt!
On Wednesday, March 5, 2014 3:28:05 PM UTC, Peter Wagner wrote:
Hi,
I flashed my DNS-323 with ALT-F 0.1RC3. Before I Used Dlink-Firmware 1.10 with 2 Samsung-Disks (HD103UJ) as JBOD.
After flashing ALT-F I create a User and I can access md1
You only did that? Nothing more? Can you please be more explicit on what you have done and in what sequence?
- but there are no folders with my old data inside.
As seen from a MS-Win computer or using Setup->Folders?
What does the Status page tell about Filesystems and RAID? A screenshot will be helpful
I get this message in the Status-Board:Checking md1 finished with status code 4: fsck 1.41.14 (22-Dec-2010) /dev/md1: The filesystem size (according to the superblock) is 487857856 blocks The physical size of the device is 487857664 blocks Either the superblock or the partition table is likely to be corrupt!
There is already a topic about this [added: but does not apply straight to your JBOD case]
/dev/md1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p optio
Here are the screenshots from Status-Bord and Filesystem. I hope, it will be helpful to solve my problem. Thanks.
1 - "check" function in the web interface -> that's fail.2 - "Force Fix" function in the web interface -> that's fail.
resize2fs -fp /dev/md1 487857664sfdisk -luS /dev/sd?
On Friday, March 7, 2014 11:58:46 AM UTC, Peter Wagner wrote:Here are the screenshots from Status-Bord and Filesystem. I hope, it will be helpful to solve my problem. Thanks.There are two problems1-You don't see your data2-There is an fsck error message1-For the first one, the screenshots shows that the RAID is working and its ext2 filesystem is mounted; you have 720GB free space on a total of 1.8TB.-When a filesystem is discovered it is made available under /mnt/<device name> or /mnt/<Label name>, in your case /mnt/md1; if you use Setup->Folders you should see /mnt/md1 and you can browse through its sub-folders, where you will hopefully found your data.
This done not means that all available folders will be available as network shares, for that you have to define Samba/smb network shares based on existing folders; that is done under Services->Network->smb Configure. There is a top-posted topic that deals with this. Start doing that, but notice that you can't write nothing to these shares until 2 is solved.-When you create a user using Setup->Users, a folder owned by only that user is created and a network share defined; the first time that an user is created special Public folders are also created and the corresponding folders created.But as the filesystem is mounted Read-Only (RO) because of 2, that steps failed and you can't see the user and public folders.2-The "unable to fix md1" error is more serious. It has also appeared on this forum but in the context of RAID1, and I never found it for JBOD (linear "RAID").I can only assume that something went wrong when using the D-Link firmware and as it never checked filesystems the issue remained hidden. Alt-F always checks filesystems when they are discovered, and it tries to fix any error automatically; when that is not possible the filesystem is made available in Read-Only mode. Alt-F don't plays with your data!You did the correct thing (Disk->Filesystems)1 - "check" function in the web interface -> that's fail.2 - "Force Fix" function in the web interface -> that's fail.But this specific kind of error has to be deal with more care.You can try the following:1-Stop all services (System->Utilities->Stop all services)2-Unmount the filesystem (Disk->Filesystem->"unmount" md1 under "FS Operations")3-issue the following command, after ssh/telnet the box and logging in as the 'root' user, same passwd as the webUI:resize2fs -fp /dev/md1 487857664It might happens that the above command fails saying that you have to do a 'fsck' first, which can't be successfully done because of the device/fs size mismatch. If this happens, please post the output of the following commands, to see if we can find another fix:sfdisk -luS /dev/sd?Notice that in the above "md1" is the device name of your RAID (it could also be called md0) and "487857664" is the device space in 4KB blocks, which is smaller than the one the filesystem was created with (487857856).Also notice that you should backup your data first.
If you don't feel conformable with this, you can always return to the D-Link firmware, use System->Firmware, download a D-Link firmware file, hit the "SpecialReboot" button, then reboot and repeat again from System->Firmware but now hit the FlashIt button
On Mar 8, 2014 8:33 PM, "Peter Wagner" <strandmoe...@googlemail.com> wrote:
>
>
>
> Am Freitag, 7. März 2014 16:57:57 UTC+1 schrieb João Cardoso:
>>
>>
>>
>> On Friday, March 7, 2014 11:58:46 AM UTC, Peter Wagner wrote:
>>>
>>> Here are the screenshots from Status-Bord and Filesystem. I hope, it will be helpful to solve my problem. Thanks.
>>
>>
>> There are two problems
>> 1-You don't see your data
>> 2-There is an fsck error message
>>
>> 1-For the first one, the screenshots shows that the RAID is working and its ext2 filesystem is mounted; you have 720GB free space on a total of 1.8TB.
>>
>> -When a filesystem is discovered it is made available under /mnt/<device name> or /mnt/<Label name>, in your case /mnt/md1; if you use Setup->Folders you should see /mnt/md1 and you can browse through its sub-folders, where you will hopefully found your data.
>
>
> Okay, but in md1 are no sub-folders (see screenshot) - on my filesystem are a lot of sub-folders (pictures, music, movies). Is the Raid not working?
There is something strange. The md1 filesystem, as shown in the status page, has 1.8TB and 720GB free, meaning that there are 1.1TB of data there. But it does not appears in the Folders Browse, and it should. Does your data folders names have "strange" characters?
Go to services->network->smb configure and add a share based on the /mnt/md1 folder. It should appear in MS-Win.
Is the data there?
The .system folder that appears is reminiscent of the D-Link firmware, and proves that Alt-F has not changed the disk and the raid is working.
Puzzled...
>
>>
>> This done not means that all available folders will be available as network shares, for that you have to define Samba/smb network shares based on existing folders; that is done under Services->Network->smb Configure. There is a top-posted topic that deals with this. Start doing that, but notice that you can't write nothing to these shares until 2 is solved.
>>
>> -When you create a user using Setup->Users, a folder owned by only that user is created and a network share defined; the first time that an user is created special Public folders are also created and the corresponding folders created.
>> But as the filesystem is mounted Read-Only (RO) because of 2, that steps failed and you can't see the user and public folders.
>>
>> 2-The "unable to fix md1" error is more serious. It has also appeared on this forum but in the context of RAID1, and I never found it for JBOD (linear "RAID").
>> I can only assume that something went wrong when using the D-Link firmware and as it never checked filesystems the issue remained hidden. Alt-F always checks filesystems when they are discovered, and it tries to fix any error automatically; when that is not possible the filesystem is made available in Read-Only mode. Alt-F don't plays with your data!
>>
>> You did the correct thing (Disk->Filesystems)
>>>
>>> 1 - "check" function in the web interface -> that's fail.
>>> 2 - "Force Fix" function in the web interface -> that's fail.
>>
>>
>> But this specific kind of error has to be deal with more care.
>> You can try the following:
>>
>> 1-Stop all services (System->Utilities->Stop all services)
>> 2-Unmount the filesystem (Disk->Filesystem->"unmount" md1 under "FS Operations")
>> 3-issue the following command, after ssh/telnet the box and logging in as the 'root' user, same passwd as the webUI:
>>
>> resize2fs -fp /dev/md1 487857664
>>
>> It might happens that the above command fails saying that you have to do a 'fsck' first, which can't be successfully done because of the device/fs size mismatch. If this happens, please post the output of the following commands, to see if we can find another fix:
>>
>> sfdisk -luS /dev/sd?
>>
>> Notice that in the above "md1" is the device name of your RAID (it could also be called md0) and "487857664" is the device space in 4KB blocks, which is smaller than the one the filesystem was created with (487857856).
>>
>> Also notice that you should backup your data first.
>
>
> Sorry for this question - I'm a total LINUX-newbie: How could I do this backup? (Yes, I know, I should do this backup before testing new firmware - but I haven't....)
>
>>
>> If you don't feel conformable with this, you can always return to the D-Link firmware, use System->Firmware, download a D-Link firmware file, hit the "SpecialReboot" button, then reboot and repeat again from System->Firmware but now hit the FlashIt button
>
>
> I will try to solve "2-There is an fsck error message" with your informations above (give me a few days) and I will post the results - thanks a lot for your help.
>
> --
> You received this message because you are subscribed to the Google Groups "Alt-F" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/36cc28c4-d94f-47d8-8cf3-c8824a1e8669%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Go to services->network->smb configure and add a share based on the /mnt/md1 folder. It should appear in MS-Win.Is the data there?
Go to services->network->smb configure and add a share based on the /mnt/md1 folder. It should appear in MS-Win.Is the data there?
Yesterday I had time to try your instructions. I created a share based on /mnt/md1 folder, can access the share in MS-Win, but there is no data inside.
(Sorry, but I can't send a sreenshot - I'm at work now.)
Before I try your instructions from march 7 (telnet the box, and "resize 2fs...)