This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Graphical control for disk usage ...

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Graphical control for disk usage ...

Post by drnicolas »

I am missing n informaional page, where I can see how much of my ZFS is used.

I think of a page under ZFS, where a bar graph gives information for every dataset/volume with quota.

I did not find any extension/package for this, so I think it does not exist. :o
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Graphical control for disk usage ...

Post by raulfg3 »

perhaps is not enought with info show in status | system ?

http://wiki.nas4free.org/doku.php?id=do ... tus_system

dataset can show info ( not graphical) on : http://wiki.nas4free.org/doku.php?id=do ... nformation
and volumes on : http://wiki.nas4free.org/doku.php?id=do ... nformation
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: Graphical control for disk usage ...

Post by drnicolas »

not bad.
But I am thinking of a graphical solution.
A page with multiple bar-graphs for the different datasets and volumes - whatever can have a quota
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: Graphical control for disk usage ...

Post by crest »

drnicolas wrote:not bad.
But I am thinking of a graphical solution.
A page with multiple bar-graphs for the different datasets and volumes - whatever can have a quota
What exactly do you think about? Which values? Currently I am working on an extension with improvements for the WebGUI and I could implement graphical representations for ZFS as well. Send me a list of items you would like to see ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: Graphical control for disk usage ...

Post by drnicolas »

I am thinking of a page with horizontal bars showing the usage of all my datasets or volumes on zfs with quotas (or is there something else on Nas4Free whch can have quotas ?).
With a number for the size and percentage used. Maybe you can a add a warning margin (such as 80%) where the bar-graph changes from blue to red.
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: Graphical control for disk usage ...

Post by crest »

drnicolas wrote:I am thinking of a page with horizontal bars showing the usage of all my datasets or volumes on zfs with quotas (or is there something else on Nas4Free whch can have quotas ?).
With a number for the size and percentage used. Maybe you can a add a warning margin (such as 80%) where the bar-graph changes from blue to red.
Ok, I will take a look at ZFS (currently I'm running it only in a test environment without quotas) to see what I can implement, stay tuned, ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: Graphical control for disk usage ...

Post by drnicolas »

Under ZFS -> Datasets -> Information is a lot of information available; but only as text.
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: Graphical control for disk usage ...

Post by crest »

As far as I know there are reservations/quotas only on datasets and volumes, not on pools, right?
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: Graphical control for disk usage ...

Post by crest »

drnicolas wrote:I am thinking of a page with horizontal bars showing the usage of all my datasets or volumes on zfs with quotas (or is there something else on Nas4Free whch can have quotas ?).
With a number for the size and percentage used. Maybe you can a add a warning margin (such as 80%) where the bar-graph changes from blue to red.
There are some points I must mention in this regard:
- the maximum amount for quotas is NOT checked via ZFS. You can set ANY quota value for a dataset and it will be accepted from ZFS (eg on a 2GB pool you can put a quota for a dataset with some TB ...). In my opinion the quotas are for use to additional restrict the reserved space eg to user or groups

- in this regard I would suppose that you should better use reservations on datasets - these values are checked from ZFS and it's not possible to overbook a pool.

- there is a bug in the N4F provisioning of datasets - if you set a reservation value which is not accepted by ZFS (value to high), the WebGUI is not reporting an error but when you look at the dataset information you will see that your value is not set[/list]

My conclusion for this is,
- I will create a graphical view for dataset reservations (occupied/available, ...)
- and try to fix the bug in the WebGUI dataset provision

regards
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Graphical control for disk usage ...

Post by raulfg3 »

thanks for your efforts, your contribution are welcome.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: Graphical control for disk usage ...

Post by crest »

raulfg3 wrote:thanks for your efforts, your contribution are welcome.
It's my pleasure!

About ...
- there is a bug in the N4F provisioning of datasets - if you set a reservation value which is not accepted by ZFS (value to high), the WebGUI is not reporting an error but when you look at the dataset information you will see that your value is not set
I found that errors are not trapped when you apply changes to datasets and volumes. Easy to repair ...
screen_20140314_074224.png
This should be done in both files disks_zfs_dataset.php and disks_zfs_volume.php so it would be the same as in disks_zfs_zpool.php. Any error will be trapped and one must use correct values to be able to apply the changes.

Btw, I would propose to amend the standard function print_warning_box like ...
screen_20140314_074238.png
... to give the user a hint in case of problems he can get more information in the system log. This would look like ...
screen_20140314_071630.png
So that's for the fix.

For the graphical representation I must go deeper into the ZFS documentation because there are some more reservation/quota facilities (refreservation, refquota, user & group quota) one can use. At the moment there are not all options implemented, are there plans to do this?

regards
crest
You do not have the required permissions to view the files attached to this post.
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

Post Reply

Return to “Suggestions & Requests”