Portál AbcLinuxu, 5. května 2025 20:57
# gmirror list # gpart showlen ich pls obal do <pre></pre> tagov.
gpart show => 63 976770963 mirror/gm0 MBR (466G) 63 976770081 1 freebsd [active] (466G) 976770144 882 - free - (441K) => 0 976770081 mirror/gm0s1 BSD (466G) 0 4194304 1 freebsd-ufs (2.0G) 4194304 8388608 2 freebsd-swap (4.0G) 12582912 8388608 4 freebsd-ufs (4.0G) 20971520 4194304 5 freebsd-ufs (2.0G) 25165824 20971520 6 freebsd-ufs (10G) 46137344 930632737 7 freebsd-ufs (444G)gmirror list
Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 3 SyncID: 8 ID: 1156219537 Providers: 1. Name: mirror/gm0 Mediasize: 500106779648 (466G) Sectorsize: 512 Mode: r6w6e17 Consumers: 1. Name: ad4 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 3 SyncID: 8 ID: 2930723184 2. Name: ad10 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 3 SyncID: 8 ID: 2784431393
# fdisk /dev/ad4 # fdisk /dev/gm0
gpart
output ti nezobrazil informacie o ad4
a ad10
?
ako si to migroval na vacsie disky ? vyzera to, ako keby si gmirror ponechal stare informacie (restore pomocou dd
?), pricom gm0 mas priamo na diskoch, nie na slice-och (co aj bolo asi recommended, no nie nutnost).
******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1043904937, size 909619223 (444150 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is:
fdisk /dev/mirror/gm0 ******* Working on device /dev/mirror/gm0 ******* parameters extracted from in-core disklabel are: cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1043904937, size 909619223 (444150 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is:
gdisk(8)
, netreba to robit rucne, i ked ja som ho este nikdy nepouzil)
jedna sa o server, ktory nemozes rebootovat alebo o desktop?
je piatok polnoc, co je magicka doba, kedy nie je dobre robit taketo "migracie":). V principe ide o to, ze
# gmirror status Name Status Components mirror/groot COMPLETE ad6p2 ad8p2 mirror/gtmp COMPLETE ad6p4 ad8p4 mirror/gvar COMPLETE ad6p5 ad8p5 mirror/gusr COMPLETE ad6p6 ad8p6ak chces, zajtra ti poslem command-by-command postup, ako to spravit. v tuto nocnu dobu by som sa mohol pomylit, co by som nerad.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.