Koozali.org: home of the SME Server

Diskusage contrib

Offline BobJF

  • 9
  • +0/-0
Diskusage contrib
« on: March 14, 2021, 08:33:31 AM »
Beta Diskusage contrib works giving expected output on test server. But, is this correct for an array of 3 x 4GB disks with a standard install?

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/kss-root   50G  3.6G   47G   8% /
devtmpfs              3.9G     0  3.9G   0% /dev
tmpfs                 3.9G   12K  3.9G   1% /dev/shm
tmpfs                 3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs                 3.9G  8.7M  3.9G   1% /run
/dev/sda2            1014M   68M  947M   7% /boot
/dev/mapper/kss-home   11T  344G   11T   4% /home
......

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Diskusage contrib
« Reply #1 on: March 14, 2021, 09:38:12 AM »
not a user but, looks as expected to me..

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/kss-root   50G  3.6G   47G   8% /
devtmpfs              3.9G     0  3.9G   0% /dev
/dev/sda2            1014M   68M  947M   7% /boot

Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/kss-home   11T  344G   11T   4% /home

and thanks for giving the tyres a kick

has now been verified and will make its way to contribs repo shortly

Best to choose what to kick from this list..

https://bugs.contribs.org/buglist.cgi?action=wrap&bug_status=RESOLVED&f1=bug_status&list_id=93061&o1=notequals&product=SME%20Contribs&v1=CLOSED
« Last Edit: March 14, 2021, 09:54:05 AM by TerryF »
--
qui scribit bis legit

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #2 on: March 14, 2021, 10:15:00 AM »
Not an issue with the contrib but I am confused by the 11T home as I was under the impression a 3 disk install should be Raid 1 plus hot spare, 11T implies it's not a Raid array. I did have some initial problems getting the install completed.
......

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Diskusage contrib
« Reply #3 on: March 14, 2021, 10:39:47 AM »
Now need Mr raid guru who has massaged the sme10Beta1 install to be able to do what she does now..

I had thought that 3 disks would produce a Raid1 and 1 spare

a # cat /proc/mdstat  would be worthwhile
--
qui scribit bis legit

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #4 on: March 14, 2021, 10:50:18 AM »
Ah, does look like it's not raid

# cat /proc/mdstat
Personalities :
unused devices: <none>

I'll re-install and see what transpires.

Thanks to all the devs btw
......

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Diskusage contrib
« Reply #5 on: March 14, 2021, 11:01:21 AM »
no worries, at my tethers end on this sort of shite :-)  need one of the gurus..must see if I can send some smoke signals..
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,333
  • +5/-0
Re: Diskusage contrib
« Reply #6 on: March 14, 2021, 11:13:53 AM »
no worries, at my tethers end on this sort of shite :-)  need one of the gurus..must see if I can send some smoke signals..

Uh oh. Chris has some work to do... :lol:

Trying to think what it should have created? Did Chris wiki that?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Diskusage contrib
« Reply #7 on: March 14, 2021, 11:29:54 AM »
He had said he was preparing some wiki changes, maybe hanging off until latest changes are done and RC or at least B2...

--
qui scribit bis legit

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #8 on: March 14, 2021, 11:56:19 AM »
I've done a reinstall, deleted all existing partitions using the graphical installer then auto install. The mdstat result is the same as before, no raid present.
Added to bug list
« Last Edit: March 14, 2021, 12:42:19 PM by BobJF »
......

Offline Jean-Philippe Pialasse

  • *
  • 2,278
  • +8/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Diskusage contrib
« Reply #9 on: March 14, 2021, 01:44:39 PM »
have you played with the gui partitionning tool or get straight to install after just setting/ clicking on localization related icons ?

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #10 on: March 14, 2021, 02:12:00 PM »
The gui disk partition icon showed a !  and Error checking storage configuration, presumably due to the previous install as it indicated not enough disk space for an install.
I used the gui to delete all the existing partitions.
I then clicked done and was offered a choice to manually partition  or accept auto install. I don't recall the exact wordings but can run install again and fully document if required.
« Last Edit: March 14, 2021, 02:17:52 PM by BobJF »
......

Offline csn

  • *
  • 11
  • +0/-0
Re: Diskusage contrib
« Reply #11 on: March 14, 2021, 07:10:25 PM »
Hey folks, the RAID wiki has been updated so with three disks you're spot on - it should be RAID 1 + a hot spare.

Using the GUI partitioning tool, even in auto partition, will overwrite our defaults and do a single disk install.

Note that the minimum disk size for a SME10 install is 5GB - if you're using 4GB disks that may be what's causing the 'error checking storage configuration' message.

Can you please share the output of lsblk? Thanks!

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #12 on: March 14, 2021, 08:29:23 PM »
see also Bug 11456

without USB stick

# lsblk -ap
NAME                     MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
/dev/sda                   8:0    0  3.7T  0 disk
├─/dev/sda1                8:1    0    1M  0 part
├─/dev/sda2                8:2    0    1G  0 part /boot
└─/dev/sda3                8:3    0  3.7T  0 part
  ├─/dev/mapper/kss-root 253:0    0   50G  0 lvm  /
  ├─/dev/mapper/kss-swap 253:1    0  7.9G  0 lvm  [SWAP]
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home
/dev/sdb                   8:16   0  3.7T  0 disk
└─/dev/sdb1                8:17   0  3.7T  0 part
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home
/dev/sdc                   8:32   0  3.7T  0 disk
└─/dev/sdc1                8:33   0  3.7T  0 part
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home

# cat /proc/mdstat
Personalities :
unused devices: <none>


With USB Stick

NAME                     MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
/dev/sda                   8:0    0  3.7T  0 disk
├─/dev/sda1                8:1    0    1M  0 part
├─/dev/sda2                8:2    0    1G  0 part /boot
└─/dev/sda3                8:3    0  3.7T  0 part

  ├─/dev/mapper/kss-root 253:0    0   50G  0 lvm  /
  ├─/dev/mapper/kss-swap 253:1    0  7.9G  0 lvm  [SWAP]
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home
/dev/sdb                   8:16   0  3.7T  0 disk
└─/dev/sdb1                8:17   0  3.7T  0 part
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home
/dev/sdc                   8:32   0  3.7T  0 disk
└─/dev/sdc1                8:33   0  3.7T  0 part
  └─/dev/mapper/kss-home 253:2    0 10.9T  0 lvm  /home
/dev/sdd                   8:48   1 28.9G  0 disk
├─/dev/sdd1                8:49   1  1.5G  0 part
└─/dev/sdd2                8:50   1  8.6M  0 part

During the install I waited 10 minutes before going into the GUI partitioning tool.
« Last Edit: March 14, 2021, 09:15:46 PM by BobJF »
......

Offline ReetP

  • *
  • 3,333
  • +5/-0
Re: Diskusage contrib
« Reply #13 on: March 14, 2021, 09:09:48 PM »
It's a pity the 5GB minimum disk size is not mentioned anywhere!

We're trying. But we are few and have little help. We're still at Beta so it isn't perfect yet and needs lots more testing and documenting.

Do please ask for wiki permissions so you can help, and a Rocket.Chat account to talk to us and test this. Every little helps :-)

Quote
see also Bug 11456

https://bugs.contribs.org/show_bug.cgi?id=11456
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline BobJF

  • 9
  • +0/-0
Re: Diskusage contrib
« Reply #14 on: March 14, 2021, 10:03:49 PM »
We're trying. But we are few and have little help. We're still at Beta so it isn't perfect yet and needs lots more testing and documenting.

quote]


Guys, please don't take the comment as criticism, just, assuming were all getting GB and TB confused, frustration on my part having bought  3 new drives. I do appreciate the efforts you're all putting in. I'll be back tomorrow.
« Last Edit: March 14, 2021, 10:07:09 PM by BobJF »
......