Created
October 28, 2014 07:17
-
-
Save HostOnNet/2f6804294d9974a4105b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@localhost ~]# df -h | |
| Filesystem Size Used Avail Use% Mounted on | |
| /dev/sdb1 1.8T 688G 1.1T 40% / | |
| tmpfs 3.9G 0 3.9G 0% /dev/shm | |
| /dev/sda1 504M 72M 408M 15% /boot | |
| [root@localhost ~]# | |
| DataShark server. | |
| / on /dev/sdb1 | |
| /boot on /dev/sda1 | |
Author
Author
Even removing /dev/sda3 not working, asking to reboot, already rebooted once...
[root@localhost ~]# parted /dev/sda
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA TOSHIBA DT01ACA2 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 538MB 537MB primary ext4 boot
2 538MB 8927MB 8389MB primary linux-swap(v1)
3 8928MB 1990GB 1981GB extended lba
(parted) rm 3
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
(parted) quit
Information: You may need to update /etc/fstab.
[root@localhost ~]#
Author
Rebooted, still no luck
[root@localhost ~]# parted /dev/sda print free
Model: ATA TOSHIBA DT01ACA2 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
32.3kB 1049kB 1016kB Free Space
1 1049kB 538MB 537MB primary ext4 boot
2 538MB 8927MB 8389MB primary linux-swap(v1)
8927MB 2000GB 1991GB Free Space
[root@localhost ~]# parted /dev/sda mkpart
Partition type? primary/extended? primary
File system type? [ext2]? ext4
Start? 8930MB
End? 2000GB
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
[root@localhost ~]#
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't format the /dev/sda3