*Empty MediaWiki Message*

This commit is contained in:
Daniel.plominski 2015-02-17 01:48:57 +00:00
parent bdfe1cf6f7
commit 24b074d541

View File

@ -1033,6 +1033,105 @@ The kernel still uses the old table. The new table will be used at the next rebo
### ### ### ### ### ### ### ### ###
[root@flatbert:~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): m
Help:
DOS (MBR)
a toggle a bootable flag
b edit nested BSD disklabel
c toggle the dos compatibility flag
Generic
d delete a partition
l list known partition types
n add a new partition
p print the partition table
t change a partition type
v verify the partition table
Misc
m print this menu
u change display/entry units
x extra functionality (experts only)
Save & Exit
w write table to disk and exit
q quit without saving changes
Create a new label
g create a new empty GPT partition table
G create a new empty SGI (IRIX) partition table
o create a new empty DOS partition table
s create a new empty Sun partition table
Command (m for help): n
Partition type
p primary (3 primary, 0 extended, 1 free)
e extended (container for logical partitions)
Select (default e): p
Selected partition 4
First sector (154296320-1953525167, default 154296320):
Last sector, +sectors or +size{K,M,G,T,P} (154296320-1953525167, default 1953525167):
Created a new partition 4 of type 'Linux' and of size 858 GiB.
Command (m for help): p
Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000a8556
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1953791 1951744 953M fd Linux raid autodetect
/dev/sdb2 1953792 17577983 15624192 7,5G 82 Linux swap / Solaris
/dev/sdb3 17577984 154296319 136718336 65,2G fd Linux raid autodetect
/dev/sdb4 154296320 1953525167 1799228848 858G 83 Linux
Command (m for help): t
Partition number (1-4, default 4): 4
Hex code (type L to list all codes): L
Changed type of partition 'Linux' to 'Solaris'.
Command (m for help): p
Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000a8556
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1953791 1951744 953M fd Linux raid autodetect
/dev/sdb2 1953792 17577983 15624192 7,5G 82 Linux swap / Solaris
/dev/sdb3 17577984 154296319 136718336 65,2G fd Linux raid autodetect
/dev/sdb4 154296320 1953525167 1799228848 858G bf Solaris
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Das Gerät oder die Ressource ist belegt
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
[root@flatbert:~]#
### ### ### ### ### ### ### ### ###
</source>