SHARE
TWEET

Untitled

a guest Dec 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@server:~# fdisk /dev/xvdf
  2.  
  3. Welcome to fdisk (util-linux 2.31.1).
  4. Changes will remain in memory only, until you decide to write them.
  5. Be careful before using the write command.
  6.  
  7.  
  8. Command (m for help): d
  9. Selected partition 1
  10. Partition 1 has been deleted.
  11.  
  12. Command (m for help): n
  13. Partition type
  14.    p   primary (0 primary, 0 extended, 4 free)
  15.    e   extended (container for logical partitions)
  16. Select (default p):
  17.  
  18. Using default response p.
  19. Partition number (1-4, default 1):
  20. First sector (2048-524287999, default 2048):
  21. Last sector, +sectors or +size{K,M,G,T,P} (2048-524287999, default 524287999):
  22.  
  23. Created a new partition 1 of type 'Linux' and of size 250 GiB.
  24. Partition #1 contains a ext4 signature.
  25.  
  26. Do you want to remove the signature? [Y]es/[N]o: y
  27.  
  28. The signature will be removed by a write command.
  29.  
  30. Command (m for help): w
  31. The partition table has been altered.
  32. Syncing disks.
  33.  
  34. root@server:~#
  35. root@server:~# resize2fs /dev/xvdf1
  36. resize2fs 1.44.1 (24-Mar-2018)
  37. resize2fs: Device or resource busy while trying to open /dev/xvdf1
  38. Couldn't find valid filesystem superblock.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top