ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maks Re <admaks@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] миграция с md_raid5 на md_raid6
Date: Tue, 4 Jan 2011 12:07:21 +0300
Message-ID: <20110104120721.36c61f34@horse.localdomain> (raw)

Здравствуйте,

имеет ли смысл переход к raid6?

имеется 4 диска wd10ears

для домашней помойки создан раздел md2 (raid5), на котором лежат два
тома lvm с данными, которые не хочется терять...

как на ходу сделать миграцию, и возможно ли такое? без пересоздания и
переноса данных на альтерантивный носитель (которого нету)?

я так понял что типа такого
mdadm -G -l raid6 -n 4 /dev/md2 

но:
что будет с томом lvm (двумя) с их размерами..?

# cat /proc/mdstat |grep -A2 md2
md2 : active raid5 sdc6[0] sdd6[3] sdb6[2] sda6[1]
      2798154432 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

# vgdisplay -s
  "VG00" 2,61 TiB  [2,30 TiB  used / 316,53 GiB free]

# lvdisplay 
  --- Logical volume ---
  LV Name                /dev/VG00/d_share
  VG Name                VG00
  LV UUID                B1F1eP-rsdp-3SxM-PS6s-e6ph-Msbk-E5jeZo
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1,50 TiB
  Current LE             394240
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     768
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/VG00/d_backup
  VG Name                VG00
  LV UUID                sLIQtf-ILew-VQFD-jttb-Zh4k-iWhL-g3Mt5s
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                812,00 GiB
  Current LE             207872
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     768
  Block device           253:1


советы и рекомендации выслушаю.
спасибо.


             reply	other threads:[~2011-01-04  9:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04  9:07 Maks Re [this message]
2011-01-04  9:32 ` Michael Shigorin
2011-01-04  9:33   ` Maks Re
2011-01-04 13:18     ` Michael Shigorin
2011-01-04 16:18 ` Dank Bagryantsev
2011-01-04 16:39   ` Michael Shigorin
2011-01-04 20:13     ` Sergey
2011-01-04 21:34       ` Michael Shigorin
2011-01-05 18:00         ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110104120721.36c61f34@horse.localdomain \
    --to=admaks@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git