Public:Esdcluster
Версия от 10:52, 23 октября 2019; Demi (обсуждение | вклад) (Новая страница: « Создаем распределенную файловую систему на Distributed Replicated Block Device (DRBD): mkfs.ocfs2 -N 2 -L ocfs2_drbd0_o2c…»)
Создаем распределенную файловую систему на Distributed Replicated Block Device (DRBD):
mkfs.ocfs2 -N 2 -L ocfs2_drbd0_o2cb --cluster-stack o2cb --cluster-name esdcluster --global-heartbeat -F /dev/drbd0
mkfs.ocfs2 1.8.5 Cluster stack: o2cb Cluster name: esdcluster Stack Flags: 0x1 NOTE: Feature extended slot map may be enabled Overwriting existing ocfs2 partition. WARNING: Cluster check disabled. Proceed (y/N): y Label: ocfs2_drbd0_o2cb Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg append-dio Block size: 4096 (12 bits) Cluster size: 4096 (12 bits) Volume size: 214741774336 (52427191 clusters) (52427191 blocks) Cluster groups: 1626 (tail covers 11191 clusters, rest cover 32256 clusters) Extent allocator size: 109051904 (26 groups) Journal size: 268435456 Node slots: 2 Creating bitmaps: done Initializing superblock: done Writing system files: done Writing superblock: done Writing backup superblock: 4 block(s) Formatting Journals: done Growing extent allocator: done Formatting slot map: done Formatting quota files: done Writing lost+found: done mkfs.ocfs2 successful
root@esd1-deb10:~# mounted.ocfs2 -d Device Stack Cluster F UUID Label /dev/mapper/esd1--deb10--vg-drbd0 o2cb esdcluster G C5DBBBE9F4EA4C6BB5F69F295A62DFBF ocfs2_drbd0_o2cb /dev/drbd0 o2cb esdcluster G C5DBBBE9F4EA4C6BB5F69F295A62DFBF ocfs2_drbd0_o2cb root@esd1-deb10:~#
root@esd2-deb10:~# mounted.ocfs2 -d Device Stack Cluster F UUID Label /dev/mapper/esd2--deb10--vg-drbd0 o2cb esdcluster G 861BDE858E884F2EBEE8B5C890F41932 ocfs2_drbd0_o2cb /dev/drbd0 o2cb esdcluster G 861BDE858E884F2EBEE8B5C890F41932 ocfs2_drbd0_o2cb root@esd2-deb10:~#