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/
相關文章
- 磁碟掛載問題:Fdisk最大隻能建立2T分割槽的盤,超過2T使用parted
- redhat 6.5 parted磁碟分割槽工具初識Redhat
- Linux分割槽之parted命令Linux
- 使用parted,e2label操作磁碟分割槽
- parted和fdisk——兩種磁碟分割槽並掛載的方法
- Linux下分割槽詳解之—PartedLinux
- linux下面的一個分割槽工具--partedLinux
- Linux 磁碟與磁碟分割槽Linux
- linux下磁碟分割槽的案例Linux
- 分割槽管理工具 fdisk parted
- linux磁碟分割槽講解Linux
- linux 磁碟分割槽_luks cryptsetupLinux
- 【Linux】MBR磁碟分割槽表只能有四個分割槽?Linux
- Linux 磁碟分割槽和掛載Linux
- linux 新增磁碟 分割槽掛載Linux
- Linux核心之磁碟和分割槽Linux
- linux 磁碟分割槽掛載-fdiskLinux
- linux磁碟分割槽基本命令Linux
- Linux下磁碟分割槽,fdisk,mkfsLinux
- Linux精講——fdisk磁碟分割槽Linux
- Linux下磁碟分割槽工具cfdisk的使用Linux
- 調整Linux磁碟分割槽的大小的方法Linux
- linux新增新磁碟和建立分割槽Linux
- linux磁碟分割槽fdisk命令詳解Linux
- linux磁碟結構及分割槽(轉)Linux
- Linux下的磁碟分割槽和邏輯卷Linux
- Mac磁碟如何分割槽?教你Mac系統磁碟自由分割槽教程!Mac
- Linux 掛載2T以上儲存Linux
- Linux磁碟分割槽及自動掛載Linux
- Linux LVM 擴充套件磁碟分割槽LinuxLVM套件
- 談linux磁碟結構及分割槽(轉)Linux
- linux下磁碟分割槽與格式化Linux
- Linux下掌控磁碟分割槽的九大神器Linux
- 新增儲存用Parted分割槽並建LVM卷LVM
- 【LINUX學習】磁碟分割之建立primary和logical 分割槽Linux
- Linux 磁碟分割槽及檔案系統管理Linux
- linux磁碟分割槽格式化-fdisk命令工具Linux
- Linux 擴充套件磁碟分割槽(命令列操作)Linux套件命令列