Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk partitions and smart drive status do not work under DSM 6.2 #3

Open
WeterPeter opened this issue Apr 1, 2021 · 15 comments
Open

Comments

@WeterPeter
Copy link

It would be nice to make that work.

thanks,
Peter

@gnadelwartz
Copy link
Owner

hi Peter, synonym install the original webmin without modification. only adjustment to synology file system layout and startup system is done.

therefore displaying disk partitions and smart drive must be adjusted in webmin.

can you give me examples with screenshot and system commands to show the problems.
I'll try to report the problem to webmin hopefully with an idea how to fix it.

@WeterPeter
Copy link
Author

Sorry but I do not completely understand what you like me to do.
I am willing to provide the details.

Please explain?

regards,
Peter

@gnadelwartz
Copy link
Owner

attach some screenshots what webmin is displaying on your NAS and what synology DSM shows plus explain what's missing/wrong.

@gnadelwartz
Copy link
Owner

gnadelwartz commented Apr 3, 2021

here are some screenshots how its shown on my Synology:

image
image
image

For me the disk partitions and smart status is shown ...

@WeterPeter
Copy link
Author

Webmin RAID works:
Screenshot 2021-04-03 at 14 02 05
Wemin Logical volume management works too:
Screenshot 2021-04-03 at 14 02 19
Webmin Partition does not work (I have tried all options, fdisk / parted):
Screenshot 2021-04-03 at 14 02 28
Webmin SMART disk status does not work either:
Screenshot 2021-04-03 at 14 02 35
Screenshot 2021-04-03 at 14 11 42
I have tried some other otions beside the default.
I am running webmin on a DS920+ :
Screenshot 2021-04-03 at 14 08 33

Do you need anything more? I'd be glad to provide it.

Regards,
Peter

@gnadelwartz
Copy link
Owner

try if "smartctl" instead of "/usr/bin/smartctl" and no parameters work in general ...
These are my settings:

Screenshot 2021-04-03 15 55 35

@gnadelwartz
Copy link
Owner

gnadelwartz commented Apr 3, 2021

Additional Info from which on terminal:

Path to parted "/sbin/parted"
Path to fdsik: "/sbin/fdisk"
Path to smrtctl: "/bin/smartctl"

I recommend to try commands without path first, my partitions are detected by parted
If fdisk/parted is not working, smartcrl is also not working because webmin need to find disks with fdisk/parted first.

@WeterPeter
Copy link
Author

Sorry but that does not work either and of course that is dependent on the PATH of webmin which I have set to for /opt/bin/ first to get the binaries witch are slightly newer.

/bin/smartctl 6.5 (build date May 7 2020) [x86_64-linux-4.4.59+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/opt/bin/smartctl smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.4.59+] (localbuild)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

Screenshot 2021-04-03 at 16 00 57

As I run a external disk pack though USB with 4 drives in a RAID5 configuration not supported by DSM it would be nice to get smartctl running under webmin to detect drive faults.

@WeterPeter
Copy link
Author

Additional Info from which on terminal:

Path to fdsik: "/sbin/fdisk"
Path to smrtctl: "/bin/smartctl"

I recommend to try commands without path first.
If fdisk is not working because of wrong path smartcrl is also not working because webmin need to find disks with fdisk first.

$ sudo /opt/sbin/fdisk -l > 1
$ sudo /sbin/fdisk -l > 2
$ diff 1 2
Gives no output so the output of both fdisk commands are identical.

The versions are not very much different:
$ sudo /sbin/fdisk -v
fdisk from util-linux 2.26.2
$ sudo /opt/sbin/fdisk -v
fdisk from util-linux 2.30.2

I agree with you fdisk or parted (MSDOS / GPT) must first work but I cannot find out why this fails?

regards,
Peter

@gnadelwartz
Copy link
Owner

gnadelwartz commented Apr 3, 2021

send me "fdisk -l" and "parted -l" output to ... as tar or zip pls. I'll try to process manually in my test environment.

@WeterPeter
Copy link
Author

Ok, sending it now...

@WeterPeter
Copy link
Author

Ok, we continue through email.

thanks for your help.

@WeterPeter
Copy link
Author

WeterPeter commented Apr 25, 2021 via email

@gnadelwartz
Copy link
Owner

gnadelwartz commented Apr 25, 2021 via email

@WeterPeter
Copy link
Author

WeterPeter commented Jul 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants