makeporngreatagain.pro
yeahporn.top
hd xxx

Adding persistent disk to Compute Engine Instance

165
  1. Creating a Compute Engine VM
  2. Now go to Disks section
    1. Click on Create Disk
    2. Name: disk-1
    3. Location: Single Zone
    4. Region: us-central-1
    5. Zone: this should be same as of your virtual machine
    6. Source: Blank disk
    7. Disk type: Balanced persistent disk
    8. Size: 10 GB
    9. Click on Create
  3. Attaching the disk to VM, Go to VM Instance section
    1. Select the VM instance
    2. Click on Edit
    3. Scroll to Additional disks > Attach existing disk
    4. Disk: select disk-1
    5. Click Done
    6. Click Save
  4. Mounting the Disk on Operating System
    1. Connect to VM using SSH
    2. In the terminal, use the lsblk command to list the disks that are attached to your instance and find the disk that you want to format and mount.
    3. Format the disk using the mkfs tool. This command deletes all data from the specified disk, so make sure that you specify the disk device correctly.
      sudo mkfs.ext4 -m 0 -E lazy_itable_init=0,lazy_journal_init=0,discard /dev/sdb
    4. Create a directory that serves as the mount point for the new disk on the VM. You can use any directory. The following example creates a directory under /mnt/disks/.
      sudo mkdir -p /mnt/disks/new
    5. Use the mount tool to mount the disk to the instance, and enable the discard option:
      sudo mount -o discard,defaults /dev/sdb /mnt/disks/new
    6. Configure read and write permissions on the disk. For this example, grant write access to the disk for all users.
      sudo chmod a+w /mnt/disks/new
    7. Change directory to /mnt/disks/new
      cd /mnt/disks/new
    8. Create some files in new disk
      touch file1 file2 file3 file4

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.