root@PVE-BACKUP:~# fdisk -l
…
Disk /dev/sdb: 931.51 GiB, 1000204140544 bytes, 1953523712 sectors
Disk model: Portable SSD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: 4FA730FD-BB63-4E98-B44D-A115CF716819
Device Start End Sectors Size Type
/dev/sdb1 2048 1953521663 1953519616 931.5G Microsoft basic data
root@PVE-BACKUP:~#
root@PVE-BACKUP:~# mkfs.ext4 /dev/sdb1
root@PVE-BACKUP:~# vi /etc/fstab
/dev/sdb1 /mnt/USBDisk auto defaults,noatime,auto,nofail 0 2
root@PVE-BACKUP:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3919272 0 3919272 0% /dev
tmpfs 790460 1116 789344 1% /run
/dev/mapper/pbs-root 220771248 2446316 207037588 2% /
tmpfs 3952284 0 3952284 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
/dev/sda2 523244 328 522916 1% /boot/efi
/dev/sdb1 960301072 14260584 897186116 2% /mnt/USBDisk
tmpfs 790456 0 790456 0% /run/user/0
root@PVE-BACKUP:~#
VIDEO
This entry was posted on Freitag, Dezember 2nd, 2022 at 09:41 and is filed under Administration , Proxmox . You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response , or trackback from your own site.