Code Monkey home page Code Monkey logo

proxmox-disk's Introduction

How to clean, format and prepare GPT array for proxmox

  • Try the steps, especially you got Issues during Proxmox Backup Server Initialize Disk with GPT

documents, sources

info about disk

install

apt install hdparm

check:

hdparm -I /dev/sdb  

out:

/dev/sdb:

ATA device, with non-removable media
        Model Number:       CT500P1SSD8                             
        Serial Number:      1913E1F4        
        Firmware Revision:  P3CR
Standards:
        Likely used: 1
Configuration:
        disk xfer rate <= 5Mbs
        data strobe offset option
        track offset option
        Logical         max     current
        cylinders       25601   0
        heads           0       0
        sectors/track   0       0
        --
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes 
        cache/buffer size  = unknown
Capabilities:
        IORDY not likely
        Can perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0

parted

install

apt install parted

prepare:

parted /dev/sdb mklabel gpt

out:

Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? y                                                                 
Information: You may need to update /etc/fstab.

GPT with proxmox tool

To initialize a disk with a new GPT, use the initialize subcommand:

proxmox-backup-manager disk initialize sdb

Delete Partitions with parted

Before deleting a partition, back up your data. All data is automatically deleted when a partition is deleted.

  • run the d command in the fdisk command-line utility.

image

Verify Partition Deletion

Reload the partition table to verify that the partition has been deleted.

  • run the p command.

The terminal prints out the partition structure of the disk selected in Step 2.

Save Changes and Quit

  • run the w command to write and save changes made to the disk.

Formatting Disk Partition with ext4 File System

Format a disk partition with the ext4 file system using the following command:

sudo mkfs -t ext4 /dev/sdb1

Next, verify the file system change using the command:

lsblk -f

Check disk performance

hdparm -Ttv /dev/sdb1

out:

/dev/sdb1:
 multcount     =  0 (off)
 readonly      =  0 (off)
 readahead     = 131064 (on)
 geometry      = 60801/255/63, sectors = 976771087, start = 2048
 Timing cached reads:   12072 MB in  2.00 seconds = 6041.48 MB/sec
 Timing buffered disk reads: 1214 MB in  3.04 seconds = 398.73 MB/sec

SPEED: 398.73 MB/sec

proxmox backup server

/#pbsStorageAndDiskPanel

image

create Directory

image

Directory creating process

image

Directory created

image

Datastore created

image


proxmox-disk's People

Contributors

tom-sapletta-com avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.