First(s) installs, few observations and help still needed

USB install DO NOT work.
The way the kickstart works breaks usb install.
I spent time trying to find a way to modifiy the kickstart, with no luck.
There’s no tool that can makee it work, we need to fix the kickstart.
Since the workaround to install centos and then use yum is fast and easy, I think that I prefer spending my efforts on something more useful (hint: stay tuned).

1 Like

I’ll be happy to help. Forward me any question you may have.

Thank for offering your help

I have two system installed from USB! Use UltraISO to make bootable flash.


Try this

PPPoE support has been added last week, search this forum for details. Update the system to have the feature.

In the Software Center, with the system up to to date, i don’t see the package Pppoe in the “available” tab, even when it must show “everything”.

What could happen?

There’s no PPPoE package. Click Network and add an interface.

Oh yes… I see it :flushed:

Thank you Filipo

Oh yes. I’m very happy:
I’ve successfully installing, formating and mounting one new 1Tb drive in my microserver.
It was my first time playing with LVM.

I happen to
-create a new physical volume.
-extend an existing volume group
-create an logical volume with the free lvm space
-create a partition on the new logical volume

  • finally adjust the /etc/fstab to automaticaly mount the file system.

The next step will be to install netatalk, afp and avahi.

That’s great, would you like to write down some notes about it?

can you give us some details?

TIA

Sure,

I will make a little “how to”

HOW TO ADD A DISK IN NETHSERVER WITH LVM

In first, I`m strongly recommending to read this LVM Administrator’s Guide:
https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/

There’s all you need to understand what is LVM and how to play safely with it.

In my Microserver Gen8 I have one 160 GB disk in the bay one. This one was configuring like this: ( disk -l output )

    Disque /dev/sda: 160.0 Go, 160041885696 octets
    255 têtes, 63 secteurs/piste, 19457 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Identifiant de disque : 0x0002bf10
    
    Périphérique Amorce  Début        Fin      Blocs     Id  Système
    /dev/sda1   *           1          64      512000   83  Linux
    La partition 1 ne se termine pas sur une frontière de cylindre.
    /dev/sda2              64       19458   155777024   8e  Linux LVM
    
    Disque /dev/mapper/vg_microserver-lv_root: 53.7 Go, 53687091200 octets
    255 têtes, 63 secteurs/piste, 6527 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Identifiant de disque : 0x00000000
    
    Disque /dev/mapper/vg_microserver-lv_home: 101.8 Go, 101833506816 octets
255 têtes, 63 secteurs/piste, 12380 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x00000000

    Disque /dev/mapper/vg_microserver-lv_swap: 3992 Mo, 3992977408 octets
    255 têtes, 63 secteurs/piste, 485 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Identifiant de disque : 0x00000000

When I went to put one more 1Tb disk in the second bay, I didn`t want to simply add one partition, but wanted to expend the LVM volume to have flexibility of LVM for futures upgrades.

So when I plugged the 1TB drive, I went to connect in SSH to the server and became root.
did a fdisk -l to ensure the this was well seeing, with the output, I saw a /dev/sdb drive.

So I had create the physical volume:

pvcreate /dev/sdb

When done

pvdisplay

To extend the VolumeGroup, I needed the name of this one, so:

vgdisplay

In this case the VG name is vg_microserver.
So, to extend the actual volume group

vgextend vg_microserver /dev/sdb

To be able to use the new disk space in the volume group, I needed to create a new logical volume in the volume group.
In my case, I want to use all the free space, and the logical volume need a name, it will be tmbackup

lvcreate -l 100%FREE -n tmbackup vg_microserver

here the output of the lvdisplay command

  --- Logical volume ---
  LV Path                /dev/vg_microserver/lv_root
  LV Name                lv_root
  VG Name                vg_microserver
  LV UUID                uw6t0l-RpXQ-dHzo-LmNY-wHBY-NpTE-qA6UT7
  LV Write Access        read/write
  LV Creation host, time nethserver, 2015-07-26 20:21:10 -0300
  LV Status              available
  # open                 1
  LV Size                50,00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/vg_microserver/lv_home
  LV Name                lv_home
  VG Name                vg_microserver
  LV UUID                QBk1ca-fD7E-DbaG-Yk2O-WD15-2biU-dKfjww
  LV Write Access        read/write
  LV Creation host, time nethserver, 2015-07-26 20:21:30 -0300
  LV Status              available
  # open                 1
  LV Size                94,84 GiB
  Current LE             24279
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2
   
  --- Logical volume ---
  LV Path                /dev/vg_microserver/lv_swap
  LV Name                lv_swap
  VG Name                vg_microserver
  LV UUID                7tAuVa-zzpY-gBnr-nc95-P35Y-gg2f-kSkMfn
  LV Write Access        read/write
  LV Creation host, time nethserver, 2015-07-26 20:22:16 -0300
  LV Status              available
  # open                 1
  LV Size                3,72 GiB
  Current LE             952
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
  --- Logical volume ---
  LV Path                /dev/vg_microserver/lv_tmbackup
  LV Name                lv_tmbackup
  VG Name                vg_microserver
  LV UUID                lyioV1-8q8e-sTDz-mxpv-tBrD-M5Eb-h8WKRR
  LV Write Access        read/write
  LV Creation host, time nethserver, 2015-08-04 21:07:20 -0300
  LV Status              available
  # open                 1
  LV Size                931,51 GiB
  Current LE             238467
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3

When all was done, i need to create the ext4 partition in this new volume:

mkfs.ext4 /dev/vg_microserver/lv_tmbackup

Finally, I mounted the partition in /home/tmbackup

mount -t ext4 /dev/mapper/vg_microserver-lv_tmbackup /home/tmbackup

I adjusted the /etc/fstab to automatically mount the partition at startup

/dev/mapper/vg_microserver-lv_root      /       ext4    defaults        1 1
UUID=6409d507-3801-4089-b451-4d671026c268       /boot   ext4    defaults        1 2
/dev/mapper/vg_microserver-lv_home      /home   ext4    defaults        1 2
/dev/mapper/vg_microserver-lv_swap      swap    swap    defaults        0 0
/dev/mapper/vg_microserver-lv_tmbackup  /home/tmbackup  ext4  defaults   1 2
tmpfs   /dev/shm        tmpfs   defaults        0 0
devpts  /dev/pts        devpts  gid=5,mode=620  0 0
sysfs   /sys    sysfs   defaults        0 0
proc    /proc   proc    defaults        0 0

That’s all ! :smiley:

3 Likes

please be aware that NS don’t use /home for user profiles and shared folders…

I’m from old traditional school :smiley:

In the Nethserver documentation, i didn’t see the information
http://docs.nethserver.org/en/latest/accounts.html

Where are user’s folders?

[root@neth ~]# cd /var/lib/nethserver/
[root@neth nethserver]# ls -la
totale 68
drwxr-xr-x. 17 root      root      4096 15 lug 09:32 .
drwxr-xr-x. 38 root      root      4096 15 lug 09:32 ..
drwxr-xr-x.  3 root      root      4096 18 lug 00:15 backup
drwxr-s---.  2 root      adm       4096 17 lug 11:38 db
drwxr-x---.  2 fetchmail fetchmail 4096 10 ago 15:07 fetchmail
drwxr-xr-x.  3 root      root      4096 17 lug  2014 ftp
drwxr-xr-x. 12 root      root      4096 26 giu 13:21 home
drwxr-xr-x.  3 root      root      4096 22 giu 17:14 ibay
drwxrwsr-x.  2 root      adm       4096 17 lug 11:32 mail-disclaimers
drwxr-xr-x.  2 root      root      4096 17 lug 11:32 netlogon
drwxr-xr-x.  2 root      root      4096 15 lug 09:32 print_driver
drwxr-xr-x. 22 root      root      4096 15 lug 09:32 profile
drwxr-xr-x.  2 root      root      4096 23 mar 11:11 secrets
drwxrwx---.  2 root      vmail     4096 28 giu 11:16 sieve-scripts
drwxr-xr-x.  2 root      root      4096 18 apr 17:10 sogo-thunderbird
drwx------. 12 vmail     vmail     4096 22 giu 17:35 vmail
drwxr-xr-x.  2 root      root      4096 17 lug 11:32 winregistry-patches

I moved 2 posts to a new topic: Trying to install Netatalk on NethServer

I moved a post to a new topic: Is the traffic go through two green?

2 posts were split to a new topic: Install the Unifi Controller on the Nethserver

Me needs are growing ( what a surprise !!! :laughing:), and I always want to improve my setup.

At this time, two needs are clearly identify:

  • I want to improve my familly privacy… That’s mean fewer cookies, fewer trackers… My next project will be to chain Privoxy and Squid… Squid/Suidguard to do caching and adblocker, Privoxy to be the cookie and nasty trackers cruncher.
  • I want to centralize my photos, films and musics. I think about Plex Media Server. I will need two disk in the microserver ( one for use, other for Backup).

These two improvements are for my NethServer instance :grin: