Vendredi 23 novembre 2018

Yanspm - Yunohost 3.0

Installer yunohost 3.0 “debian stretch” sur serveur domaine yanspm.com

Eléments du serveur yanspm “debian jessie”

Les disques

gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 937703088 sectors, 447.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E739C819-04C3-4893-9D06-541D5D59C73C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 937703054
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048           67583   32.0 MiB    EF02  BIOS boot partition
   2           67584          591871   256.0 MiB   8300  boot
   3          591872       937703054   446.8 GiB   8E00  Linux LVM
gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sdb: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 58E0D40D-6989-47BB-8643-971994F83589
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 526302 sectors (257.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          104447   50.0 MiB    EF02  BIOS boot partition
   3          628736      7814037134   3.6 TiB     8E00  Linux LVM

Les volumes LVM

pvs
  PV         VG         Fmt  Attr PSize   PFree  
  /dev/sda3  vg-ssd-one lvm2 a--  446,85g 342,85g
  /dev/sdb3  vg-nas-one lvm2 a--    3,64t 777,72g
vgs
  VG         #PV #LV #SN Attr   VSize   VFree  
  vg-nas-one   1   3   0 wz--n-   3,64t 777,72g
  vg-ssd-one   1   3   0 wz--n- 446,85g 342,85g
lvs
  LV      VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  serie   vg-nas-one -wi-a----- 400,00g                                                    
  video   vg-nas-one -wi-ao----   2,00t                                                    
  yanplus vg-nas-one -wi-ao---- 500,00g                                                    
  home    vg-ssd-one -wi-ao----  75,00g                                                    
  root    vg-ssd-one -wi-ao----  25,00g                                                    
  swap    vg-ssd-one -wi-ao----   4,00g                                                    

/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/vg--ssd--one-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda2 during installation
UUID=43a1368e-56b3-491f-bcf2-d38b9c676de7 /boot           ext2    defaults        0       2
/dev/mapper/vg--ssd--one-home /home           ext4    defaults        0       2
/dev/mapper/vg--ssd--one-swap none            swap    sw              0       0
/dev/mapper/vg--nas--one-yanplus /media/yanplus  ext4    defaults          0       2
/dev/mapper/vg--nas--one-video   /media/video    ext4    defaults          0       2