HDD/Partition initialization problems

Re: HDD/Partition initialization problems

Postby jaker » Thu Aug 06, 2020 8:56 pm

Jocko wrote:Then if you run again the format script, all should be ok now with Vol-A and only blkid issue must be deepened...


I started the reset (format) again. Error message is different this time.

Popup message:
Code: Select all
Reported message:
   => Fail (unsupported file system)

Restart the NAS to switch in regular mode.

More detail in:  /etc/.setup.fs/setupjob.log


Output on web page:
Code: Select all
NAS server in Setup Mode

(re-)Start the setup task :   Reset internal disk(s)
Started on:   06 August 2020, 20:23:00
Ended at:   06 August 2020, 20:51:44

Setup task reset.sh is now running
Found disk: sda(S2H7JD1ZA20706)
Format partition sda8 with file system ext4:
=>mke2fs 1.43.4 (31-Jan-2017)
Creating filesystem with 487653137 4k blocks and 121913344 inodes
Filesystem UUID: f16b2ce0-6bd0-48f8-9891-4a6e9c296d17
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
=>Formatting sda8 succeeded
=> Fail (unsupported file system)
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby jaker » Thu Aug 06, 2020 8:59 pm

Code: Select all
root@fvdwsl-base:/ # /usr/sbin/blkid /dev/sda5
/dev/sda5: UUID="185670ca-a72a-4b19-b057-49f422536585" TYPE="ext3" PARTLABEL="Linux filesystem" PARTUUID="00000000-0000-0000-0000-000000000000"
root@fvdwsl-base:/ # echo $?
0
root@fvdwsl-base:/ # /usr/sbin/blkid /dev/sda8
root@fvdwsl-base:/ # echo $?
2
root@fvdwsl-base:/ #
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby fvdw » Thu Aug 06, 2020 9:23 pm

@Jaker
What happens if you format it in ext3
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: HDD/Partition initialization problems

Postby Jocko » Fri Aug 07, 2020 6:47 am

Hi jaker

again more investigation...
As blkid seems not to find the wanted information in /sys folder, maybe useful how it is populated for sda8 and sda5.

So run these commands
Code: Select all
 grep '' /sys/class/block/sda8/*
 grep '' /sys/class/block/sda8/*/*

Code: Select all
 grep '' /sys/class/block/sda5/*
 grep '' /sys/class/block/sda5/*/*


Now maybe other commands should return more information if there is an issue on the dev node, for example by mounting it
Code: Select all
mkdir /tmp/sda8
/usr/bin/mount /dev/sda8 /tmp/sda8
umount /tmp/sda8

Then post also dmesg output after this last try
Code: Select all
dmesg
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HDD/Partition initialization problems

Postby jaker » Fri Aug 07, 2020 7:06 pm

fvdw wrote:@Jaker
What happens if you format it in ext3


I'm quite sure that I tried also formatting to ext3 filesystem after first clean install, but it gave the same error.

I can try it again.

Code: Select all
Reported message:
   => Fail (unsupported file system)

Restart the NAS to switch in regular mode.

More detail in:  /etc/.setup.fs/setupjob.log


Code: Select all
NAS server in Setup Mode

(re-)Start the setup task :   Reset internal disk(s)
Started on:   07 August 2020, 19:12:08
Ended at:   07 August 2020, 19:42:45

Setup task reset.sh is now running
Found disk: sda(S2H7JD1ZA20706)
Format partition sda8 with file system ext3:
=>mke2fs 1.43.4 (31-Jan-2017)
Creating filesystem with 487653137 4k blocks and 121913344 inodes
Filesystem UUID: 4755d128-eed5-4764-b409-beb35e73abe0
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
=>Formatting sda8 succeeded
=> Fail (unsupported file system)
Last edited by jaker on Fri Aug 07, 2020 7:57 pm, edited 1 time in total.
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby jaker » Fri Aug 07, 2020 7:08 pm

Jocko wrote:
Code: Select all
 grep '' /sys/class/block/sda8/*
 grep '' /sys/class/block/sda8/*/*

Code: Select all
 grep '' /sys/class/block/sda5/*
 grep '' /sys/class/block/sda5/*/*

Code: Select all
mkdir /tmp/sda8
/usr/bin/mount /dev/sda8 /tmp/sda8
umount /tmp/sda8[/code
[code]dmesg


Here's the output from these:
sys_class_mount.zip
You do not have the required permissions to view the files attached to this post.
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby Jocko » Fri Aug 07, 2020 7:33 pm

Ok

Mount command returns an amazing information
Code: Select all
mount: /rw_fs/tmp/sda8: more filesystems detected on /dev/sda8; use -t <type> or wipefs(8)
This should not happen but in fact may occur on some contexts as according to the fs type their offset is not the same.
So run
Code: Select all
sudo dd if=/dev/zero of=/dev/sda8 bs=1M count=100
This should destroy any fs on sda8.
Then try first to format manually sda8 but by disabling the ext4 lazzy options...
Code: Select all
/usr/sbin/mke2fs -t ext4 -m 1 -E lazy_itable_init=0,lazy_journal_init=0 /dev/sda8


So try blkid command
Code: Select all
blkid /dev/sda8
and again try to mount it
Code: Select all
/usr/bin/mount /dev/sda8 /tmp/sda8
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HDD/Partition initialization problems

Postby jaker » Fri Aug 07, 2020 8:53 pm

This didn't seem to work either. blkid does not return anything.
Code: Select all
root@fvdwsl-base:/ # sudo dd if=/dev/zero of=/dev/sda8 bs=1M count=100
100+0 records in
100+0 records out
root@fvdwsl-base:/ # /usr/sbin/mke2fs -t ext4 -m 1 -E lazy_itable_init=0,lazy_jo
urnal_init=0 /dev/sda8
mke2fs 1.43.4 (31-Jan-2017)
/dev/sda8 contains a zfs_member file system
Proceed anyway? (y,N) y
Creating filesystem with 487653137 4k blocks and 121913344 inodes
Filesystem UUID: 34b28832-b0c3-4bad-9617-5fa3c8620208
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

root@fvdwsl-base:/ # blkid /dev/sda8
root@fvdwsl-base:/ # /usr/bin/mount /dev/sda8 /tmp/sda8
mount: /rw_fs/tmp/sda8: more filesystems detected on /dev/sda8; use -t <type> or wipefs(8).
root@fvdwsl-base:/ #
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby Jocko » Sat Aug 08, 2020 7:05 am

Hi

:fists

Do you have data on your nas ? (on sdb ?). If not we can try to swap the disks and then install the firmware on the former sdb disk. that will allow to do a full reset on the former sda disk (which will take time)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HDD/Partition initialization problems

Postby jaker » Sat Aug 08, 2020 10:36 am

This is whatever Network Space 2 with only one harddrive. I think there's models with 1 and 2 disks. Most probably those have the same PCB inside. I haven't compared those side by side.

I have another NAS with two disks and fan that we've been working with. That one seems to be working allright.

Anyway this device does not have data to be saved yet. Hard drive is also used one so it might be possible that the drive has some problems.

Edit: Looks like 1 disk model is "Network Space 2" and 2 disk model is "Network Space MAX"
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 3 guests