Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@server:~# fdisk /dev/xvdf
- Welcome to fdisk (util-linux 2.31.1).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Command (m for help): d
- Selected partition 1
- Partition 1 has been deleted.
- Command (m for help): n
- Partition type
- p primary (0 primary, 0 extended, 4 free)
- e extended (container for logical partitions)
- Select (default p):
- Using default response p.
- Partition number (1-4, default 1):
- First sector (2048-524287999, default 2048):
- Last sector, +sectors or +size{K,M,G,T,P} (2048-524287999, default 524287999):
- Created a new partition 1 of type 'Linux' and of size 250 GiB.
- Partition #1 contains a ext4 signature.
- Do you want to remove the signature? [Y]es/[N]o: y
- The signature will be removed by a write command.
- Command (m for help): w
- The partition table has been altered.
- Syncing disks.
- root@server:~#
- root@server:~# resize2fs /dev/xvdf1
- resize2fs 1.44.1 (24-Mar-2018)
- resize2fs: Device or resource busy while trying to open /dev/xvdf1
- Couldn't find valid filesystem superblock.
Add Comment
Please, Sign In to add comment