HDD/Partition initialization problems

Re: HDD/Partition initialization problems

Postby jaker » Wed Aug 12, 2020 7:56 pm

wipefs -a -f /dev/sda8 seemed to do the job

Code: Select all
root@fvdwsl-base:/tmp # wipefs -a -f /dev/sda8
/dev/sda8: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef
/dev/sda8: 8 bytes were erased at offset 0x1d10feb3000 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10feb2c00 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10feb2800 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10feb2000 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10feb1c00 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef3000 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef2c00 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef2800 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef2000 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef1c00 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef1800 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef1400 (zfs_member): 0c b1 ba 00 00 00 00 00
/dev/sda8: 8 bytes were erased at offset 0x1d10fef1000 (zfs_member): 0c b1 ba 00 00 00 00 00
root@fvdwsl-base:/tmp # wipefs /dev/sda8
root@fvdwsl-base:/tmp #
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby jaker » Wed Aug 12, 2020 7:58 pm

fvdw wrote:The offset mentioned for zfs_member converted to decimal is 1997426864128 bytes so somewhere at the end of the disk. I wonder how it came there??. Was this disk used in another computer?


This is used disk, so it must have stayed there despite clean install.
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby fvdw » Wed Aug 12, 2020 8:02 pm

Oke what does blkid now gives as output?

Code: Select all
blkid /dev/sda8


If no output format the partition and repeat blkid command.

If that gives ext4 as file system try to mount it and umount it
Code: Select all
mkdir /tmp/sda8
mount /dev/sda8 /tmp/sda8

umount /tmp/sda8
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: HDD/Partition initialization problems

Postby jaker » Wed Aug 12, 2020 8:03 pm

Code: Select all
root@fvdwsl-base:/tmp # blkid /dev/sda8
/dev/sda8: PARTLABEL="Linux filesystem" PARTUUID="00000000-0000-0000-0000-000000000000"
root@fvdwsl-base:/tmp #


Should I try manual creation of ext4 or that web page reset/format functionality?

Jocko wrote: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
jaker
Donator VIP
Donator VIP
 
Posts: 59
Joined: Sun Oct 27, 2019 7:55 pm

Re: HDD/Partition initialization problems

Postby fvdw » Wed Aug 12, 2020 8:06 pm

Yes do what Jocko has written
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: HDD/Partition initialization problems

Postby jaker » Wed Aug 12, 2020 8:39 pm

This seemed to work also. Mounting is also succesful.

Code: Select all
root@fvdwsl-base:/tmp # /usr/sbin/mke2fs -t ext4 -m 1 -E lazy_itable_init=0,lazy
_journal_init=0 /dev/sda8
mke2fs 1.43.4 (31-Jan-2017)
Creating filesystem with 487653137 4k blocks and 121913344 inodes
Filesystem UUID: b119caf5-db54-4d32-b55b-7b787b8c5c40
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:/tmp # blkid /dev/sda8
/dev/sda8: UUID="b119caf5-db54-4d32-b55b-7b787b8c5c40" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="00000000-0000-0000-0000-000000000000"
root@fvdwsl-base:/tmp # /usr/bin/mount /dev/sda8 /tmp/sda8
root@fvdwsl-base:/tmp # umount /tmp/sda8
root@fvdwsl-base:/tmp #


Web page also looks better.
info2_after_removing_zfs_member_.png
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 fvdw » Wed Aug 12, 2020 8:46 pm

:punk
All seems to be oke now, you can reboot the nas and after that sda8 should be mounted and available as shared data partition
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: HDD/Partition initialization problems

Postby fvdw » Wed Aug 12, 2020 8:48 pm

Note: free size should not be zero...
Is this still te case after reboot?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: HDD/Partition initialization problems

Postby Jocko » Wed Aug 12, 2020 8:50 pm

Ok

So pretty good but not fully as the firmware claims there is no free space on Vol-A :scratch

Then post this output
Code: Select all
df -h /dev/sda8
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HDD/Partition initialization problems

Postby Jocko » Wed Aug 12, 2020 8:52 pm

Indeed if jaker did not reboot yet the nas, sda8 is not mounted on /share/1000 and then the fw GUI returns this information
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 9 guests