Page 1 of 1

Couple bugs on install-script

PostPosted: Tue Aug 28, 2018 7:58 pm
by vesas
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.

Re: Couple bugs on install-script

PostPosted: Wed Aug 29, 2018 7:53 am
by Jocko
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.

Re: Couple bugs on install-script

PostPosted: Wed Aug 29, 2018 3:17 pm
by vesas
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.