Cursul #12
Administrarea Spațiului de Stocare
1
Suport de curs
2
1/18/21
Jesus saves.
Buddha makes incremental backups.
3
18.01.2021
4
18.01.2021
Spațiul de stocare
Perspectivă utilizator
5
18.01.2021
Perspectivă SO
Tipuri de discuri
6
18.01.2021
Hard Disk Drive - HDD
7
18.01.2021
Solid State Block - SSD
8
18.01.2021
Durată de viață a unui disc
9
18.01.2021
Operații cu discul
10
18.01.2021
disc
partiționare
formatare
montare
backup
fsck
utilizare
Partiționare
11
18.01.2021
De ce folosim partiții?
12
18.01.2021
Tipuri de partiții
13
18.01.2021
14
18.01.2021
15
18.01.2021
Sisteme de fișiere
16
18.01.2021
Montarea sistemului de fișiere
17
18.01.2021
Exemple
18
18.01.2021
[root@monitor ~]# mount /dev/sdb1 /mnt/ [root@monitor ~]# mount | grep sdb1
/dev/sdb1 on /mnt type ext4 (rw)
[root@monitor ~]# umount /mnt/
[root@monitor ~]# fsck /dev/sdb1
fsck from util-linux-ng 2.17.2
e2fsck 1.43-WIP (20-Jun-2013)
/dev/sdb1: clean, 11/13272 files, 6616/52916 blocks
Montarea dispozitivelor
19
18.01.2021
Montare SF la distantă
20
18.01.2021
[root@monitor ~]# apt-get install sshfs
[root@monitor ~]# sshfs root@hp-wn01:/root/ /mnt/
[root@monitor ~]# mount | grep mnt
root@hp-wn01:/root/ on /mnt type fuse.sshfs (rw,nosuid,nodev) [root@monitor ~]# ls -l /mnt/
total 4304336
-rw------- 1 root root 1285 Nov 13 2015 anaconda-ks.cfg
Replicarea datelor
21
18.01.2021
RAID
22
18.01.2021
RAID
23
18.01.2021
24
18.01.2021
Replicarea pe sisteme desktop/laptop
25
18.01.2021
Backup periodic pe Linux
26
18.01.2021
Backup periodic pe Windows
27
18.01.2021
Logical Volume Manager
28
18.01.2021
Logical Volume Manager
29
18.01.2021
Incluziunea celor 3 obiecte
30
18.01.2021
Exemplu LVM
31
18.01.2021
mamba:~# pvs
PV VG Fmt Attr PSize Pfree
/dev/md2 storage lvm2 a- 1.14t 130.47g
mamba:~# vgs
VG #PV #LV #SN Attr VSize VFree
storage 1 6 0 wz--n- 1.14t 130.47g
Exemplu LVM
32
18.01.2021
mamba:~# pvdisplay /dev/md2
--- Physical volume ---
PV Name /dev/md2
VG Name storage
PV Size 1.14 TiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 299641
Free PE 33401
Allocated PE 266240
PV UUID M9WAFG-pf9x-Uo0j-7r8N-spOy-5evy-tt0cyc
Exemplu LVM
33
18.01.2021
mamba:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
home storage -wi-ao 20.00g
labs storage -wi-ao 200.00g
projects storage -wi-ao 200.00g
rosedu storage -wi-ao 100.00g
swarm storage -wi-ao 500.00g
titan storage -wi-ao 20.00g
Resurse utile
34
18.01.2021
Unix and Linux System Administration Handbook
35
18.01.2021
Bram Moolenaar
36
18.01.2021
Microsoft
37
18.01.2021
Cuvinte cheie
38
18.01.2021