ajouter_un_disque_dur_sur_un_vps
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
ajouter_un_disque_dur_sur_un_vps [2016/05/27 11:08] – créée simon | ajouter_un_disque_dur_sur_un_vps [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Ajouter un disque dur sur un VPS ====== | ||
- | J'ai un VPS chez OVH sur lequel tourne mon instance OwnCloud. Comme j' | ||
- | |||
- | C'est parti ! Une fois le disque commandé via l' | ||
- | <code bash> | ||
- | # fdisk -l | ||
- | |||
- | Disk /dev/vda: 10 GiB, 10737418240 bytes, 20971520 sectors | ||
- | Units: sectors of 1 * 512 = 512 bytes | ||
- | Sector size (logical/ | ||
- | I/O size (minimum/ | ||
- | Disklabel type: dos | ||
- | Disk identifier: 0x00000000 | ||
- | |||
- | Device | ||
- | / | ||
- | |||
- | Disk /dev/vdb: 50 GiB, 53687091200 bytes, 104857600 sectors | ||
- | Units: sectors of 1 * 512 = 512 bytes | ||
- | Sector size (logical/ | ||
- | I/O size (minimum/ | ||
- | </ | ||
- | |||
- | Il n'a pas encore de partition(s). On va en créer une avec '' | ||
- | <code bash> | ||
- | # fdisk /dev/vdb | ||
- | |||
- | Welcome to fdisk (util-linux 2.25.2). | ||
- | Changes will remain in memory only, until you decide to write them. | ||
- | Be careful before using the write command. | ||
- | |||
- | Device does not contain a recognized partition table. | ||
- | Created a new DOS disklabel with disk identifier 0x78fc199b. | ||
- | |||
- | Command (m for help): n | ||
- | Partition type | ||
- | | ||
- | | ||
- | Select (default p): p | ||
- | Partition number (1-4, default 1): 1 | ||
- | First sector (2048-104857599, | ||
- | Last sector, +sectors or +size{K, | ||
- | |||
- | Created a new partition 1 of type ' | ||
- | |||
- | Command (m for help): w | ||
- | The partition table has been altered. | ||
- | Calling ioctl() to re-read partition table. | ||
- | Syncing disks. | ||
- | </ | ||
- | |||
- | On peut voir la différence avec un '' | ||
- | <code bash> | ||
- | # fdisk -l | ||
- | (...) | ||
- | Disk /dev/vdb: 50 GiB, 53687091200 bytes, 104857600 sectors | ||
- | Units: sectors of 1 * 512 = 512 bytes | ||
- | Sector size (logical/ | ||
- | I/O size (minimum/ | ||
- | Disklabel type: dos | ||
- | Disk identifier: 0x78fc199b | ||
- | |||
- | Device | ||
- | / | ||
- | </ |
ajouter_un_disque_dur_sur_un_vps.1464347330.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)