linux 磁碟 2T以上的分割槽parted
# parted /dev/mapper/rman
GNU Parted 2.1
Using /dev/mapper/rman
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
(parted) print
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/rman: 3299GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) mkpart primary 0 3298GB
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? Ignore
(parted)
(parted) print
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/rman: 3299GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 3298GB 3298GB primary
(parted) quit
Information: You may need to update /etc/fstab.
# fdisk -l
Disk /dev/mapper/rman: 3298.5 GB, 3298534883328 bytes
255 heads, 63 sectors/track, 401024 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 67108864 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mapper/rmanp1 1 267350 2147483647+ ee GPT
Disk /dev/mapper/rmanp1: 3298.0 GB, 3297999983104 bytes
255 heads, 63 sectors/track, 400958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 67108864 bytes
Alignment offset: 15360 bytes
Disk identifier: 0x00000000
# mkfs.ext4 /dev/mapper/rmanp1
mke2fs 1.41.12 (17-May-2010)
/dev/mapper/rmanp1 alignment is offset by 15360 bytes.
This may result in very poor performance, (re)-partitioning suggested.
warning: 481 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=8 blocks, Stripe width=16384 blocks
201686976 inodes, 805175296 blocks
40258788 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
24572 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
done
This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# vi /etc/fstab
/dev/mapper/rmanp1 /rmanbak ext4 defaults 1 2
# mkdir /rmanbak
# mount /rmanbak/
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdy6 124G 18G 100G 16% /
tmpfs 126G 346M 126G 1% /dev/shm
/dev/sdy2 485M 39M 421M 9% /boot
/dev/sdy1 200M 260K 200M 1% /boot/efi
/dev/mapper/vg_u01-LogVol00_u01 197G 6.8G 181G 4% /u01
/dev/mapper/vg_u02-LogVol00_u02 197G 5.3G 182G 3% /u02
/dev/mapper/rmanp1 3.0T 200M 2.9T 1% /rmanbak
[root@jnkm1db1 mapper]# chown oracle:oinstall /rmanbak/
[root@jnkm1db1 mapper]# chmod 755 /rmanbak/
相關文章
- Linux分割槽之parted命令Linux
- parted和fdisk——兩種磁碟分割槽並掛載的方法
- Linux 磁碟與磁碟分割槽Linux
- 【Linux】MBR磁碟分割槽表只能有四個分割槽?Linux
- 分割槽管理工具 fdisk parted
- linux 新增磁碟 分割槽掛載Linux
- Linux 磁碟分割槽和掛載Linux
- linux 磁碟分割槽掛載-fdiskLinux
- Linux核心之磁碟和分割槽Linux
- Linux下磁碟分割槽工具cfdisk的使用Linux
- linux新增新磁碟和建立分割槽Linux
- Linux下的磁碟分割槽和邏輯卷Linux
- 磁碟分割槽管理
- 一文全懂:Linux磁碟分割槽Linux
- Linux磁碟分割槽及自動掛載Linux
- Linux磁碟分割槽瞭解多少?Linux入門必看Linux
- Mac磁碟如何分割槽?教你Mac系統磁碟自由分割槽教程!Mac
- linux磁碟分割槽格式化-fdisk命令工具Linux
- Linux 擴充套件磁碟分割槽(命令列操作)Linux套件命令列
- Virtualbox中Linux新增新磁碟並建立分割槽Linux
- Linux 磁碟分割槽及檔案系統管理Linux
- 使用parted建立大分割槽時 mkpart Warning: The resulting partition is not properly
- 用GParted給linux系統進行磁碟分割槽?Linux
- linux建立新分割槽擴充套件磁碟空間Linux套件
- Linux磁碟分割槽、掛載、檢視檔案大小Linux
- Linux系統磁碟和分割槽有哪些命令呢?Linux
- 『學了就忘』Linux檔案系統管理 — 61、使用parted命令進行分割槽Linux
- Linux分割槽方案、分割槽建議Linux
- Windows伺服器如何磁碟分割槽,Windows伺服器磁碟分割槽常見的三種Windows伺服器
- 在Linux中,如何格式化一個磁碟分割槽?Linux
- linux的分割槽方法Linux
- 磁碟分割槽表恢復原理
- win10怎麼快速給磁碟分割槽_win10如何進行磁碟分割槽Win10
- Linux中監控磁碟分割槽及使用情況的命令有哪些?Linux
- Linux中監控磁碟分割槽和使用情況的幾個工具Linux
- linux分割槽方案Linux
- linux硬碟分割槽Linux硬碟
- liunx磁碟分割槽擴容實操
- Seven 儲存結構與磁碟劃分 主分割槽交換分割槽的作用!