Salve, ho provato diverse guide online ma nessuna va a buon fine e son sempre costretto a riformattare il server che ho acquistato. Qualcuno sa come partizionare, formattare e montare una hdd da 8 terabyte in un webserver? Tengo a precisare che il webserver e' esterno e posso accederci solamente tramite bash da putty. Il mio intento sarebbe quello di montare il nuovo hard disk e sostituirlo a quello precedente da 500 gb per poter avere molto più spazio disponibile. Qualcuno potrebbe cortesemente aiutarmi? Sarebbe abbastanza urgente... grazie
Offro 50 euro per chi si rende disponibile per montare per bene l'hard disk ed installare lo stack lamp funzionante. E' un lavoro da massimo 20 minuti.
Quando digito fdisk -l mi appare questo:
Disk /dev/nvme0n1: 512.1 GB, 512110190592 bytes, 1000215216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000f3a17
Device Boot Start End Blocks Id System
/dev/nvme0n1p1 * 2048 2099199 1048576 fd Linux raid autodetect
/dev/nvme0n1p2 2099200 1000214527 499057664 fd Linux raid autodetect
Disk /dev/nvme1n1: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00079732
Device Boot Start End Blocks Id System
/dev/nvme1n1p1 * 2048 2099199 1048576 fd Linux raid autodetect
/dev/nvme1n1p2 2099200 976773119 487336960 fd Linux raid autodetect
Disk /dev/md0: 1071 MB, 1071644672 bytes, 2093056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md1: 498.9 GB, 498897780736 bytes, 974409728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 8001.6 GB, 8001563222016 bytes, 15628053168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: 959A27A5-409A-4C7A-9E35-A511C12703C2
# Start End Size Type Name
Disk /dev/mapper/Volume00-root: 450.9 GB, 450887680000 bytes, 880640000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/Volume00-swap: 4294 MB, 4294967296 bytes, 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/Volume00-tmp: 4294 MB, 4294967296 bytes, 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Quando invece digito df -h mi appare questo:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 393M 16G 3% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/Volume00-root 414G 393G 167M 100% /
/dev/mapper/Volume00-tmp 3.9G 17M 3.6G 1% /tmp
/dev/md0 990M 152M 772M 17% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/0
Invece con lsblk mi appare questo:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 7.3T 0 disk
nvme0n1 259:0 0 477G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part
│ └─md0 9:0 0 1022M 0 raid1 /boot
└─nvme0n1p2 259:2 0 476G 0 part
└─md1 9:1 0 464.7G 0 raid1
├─Volume00-root 253:0 0 419.9G 0 lvm /
├─Volume00-swap 253:1 0 4G 0 lvm [SWAP]
└─Volume00-tmp 253:2 0 4G 0 lvm /tmp
nvme1n1 259:3 0 465.8G 0 disk
├─nvme1n1p1 259:4 0 1G 0 part
│ └─md0 9:0 0 1022M 0 raid1 /boot
└─nvme1n1p2 259:5 0 464.8G 0 part
└─md1 9:1 0 464.7G 0 raid1
├─Volume00-root 253:0 0 419.9G 0 lvm /
├─Volume00-swap 253:1 0 4G 0 lvm [SWAP]
└─Volume00-tmp 253:2 0 4G 0 lvm /tmp