Couple bugs on install-script

Couple bugs on install-script

Postby vesas » Tue Aug 28, 2018 7:58 pm

Hi,

I installed 17.0 to Network Space 2 lite and found couple bugs on installation script. First one is in case for partition table creation. Script fails if disk has no partition table at all. Tested with 4T Barracuda disk. Original partitiontable removed with classic fdisk. Can be bug in fdisk or gdisk. I solved this by creating GPT partition table manually with gdisk. After this fvdw-sl-programs runs correctly to partition 8 format..

Second bug seems to be in partition 8 format, it fails. From log:
format partition 8 shared folder partition
formating partition 8 failed

In console I get memory allocation error, but it is not in the log file. Disk reset on webui solves this issue.

I did not hit these bugs with 160G disk, so those are related to larger disk. GPT in use with this smaller disk also.
vesas
 
Posts: 7
Joined: Fri Aug 24, 2018 5:40 am

Re: Couple bugs on install-script

Postby Jocko » Wed Aug 29, 2018 7:53 am

Hi vesas

Thank you for yours feedback.

up to now we did not yet detect the first bug. About the 2d one, we know it (see https://plugout.net/viewtopic.php?f=28&t=2799). We get it only on big disk.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Couple bugs on install-script

Postby vesas » Wed Aug 29, 2018 3:17 pm

Hi,

I retested gdisk issue. Starting point is working fvdw-sl 17.0 with latest patch. Rebooting to FVDW-SL console 6. On console I first deleted partition table with fdisk (not with gdisk). After partition table removal run fvdw-sl-programs. Below is what gdisk gives to console after selectin gpt and larger than 2T disk.

Code: Select all
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: Using GPT and creating fresh protective MBR.

Command (? for help): b back up GPT data to a file
c       change a partition's name
d       delete a partition
i       show detailed information on a partition
l       list known partition types
n       add a new partition
o       create a new empty GUID partition table (GPT)
p       print the partition table
q       quit without saving changes
r       recovery and transformation options (experts only)
s       sort partitions
t       change a partition's type code
v       verify disk
w       write table to disk and exit
x       extra functionality (experts only)
?       print this menu

Command (? for help): b back up GPT data to a file
c       change a partition's name
d       delete a partition
i       show detailed information on a partition
l       list known partition types
n       add a new partition
o       create a new empty GUID partition table (GPT)
p       print the partition table
q       quit without saving changes
r       recovery and transformation options (experts only)
s       sort partitions
t       change a partition's type code
v       verify disk
w       write table to disk and exit
x       extra functionality (experts only)
?       print this menu

Command (? for help): b back up GPT data to a file
c       change a partition's name
d       delete a partition
i       show detailed information on a partition
l       list known partition types
n       add a new partition
o       create a new empty GUID partition table (GPT)
p       print the partition table
q       quit without saving changes
r       recovery and transformation options (experts only)
s       sort partitions
t       change a partition's type code
v       verify disk
w       write table to disk and exit
x       extra functionality (experts only)
?       print this menu

Command (? for help):
Command (? for help):
There was an error deleting the partitioning scheme on /dev/sda.
Installer will exit
root@fvdw-sta-kirkwood:/ #


So situation itself is "mistake", but script should work with poorly wiped disk also. Script works after creating blank GPT to disk.
vesas
 
Posts: 7
Joined: Fri Aug 24, 2018 5:40 am


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 8 guests