ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Fdisk на работающем серваке
@ 2002-10-29  9:39 Ilia Menchikh
  0 siblings, 0 replies; only message in thread
From: Ilia Menchikh @ 2002-10-29  9:39 UTC (permalink / raw)
  To: community

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

На боевом сервере надо было ресайзнуть партицию. Партиция под
софтверным рейдом, поэтому parted ругнулся и делать не захотел. 
Ладно, стер создал fdisk'ом.
Все нормально, также партишены приготовил под райд. Только одна
клякса на небосклоне: он их переномеровал и заявил что переписать
таблицу разделов не могу, так как они используются. 
Было примерно так:

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        19    152586   83  Linux
/dev/sda2            20      2231  17767890    5  Extended
/dev/sda5            20        50    248976   fd  Linux raid
autodetect
/dev/sda6           876      1180   2449881   fd  Linux raid
autodetect
/dev/sda7          1181      1230    401593+  fd  Linux raid
autodetect
/dev/sda8         1231      2231   Ско-ко-то   fd  Linux raid
autodetect
^^^^^^^^^^
/dev/sda9            51       103    425691   fd  Linux raid
autodetect
/dev/sda10           104       358   2048256   fd  Linux raid
autodetect
/dev/sda11          359       875   4152771   fd  Linux raid
autodetect

Стало:

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        19    152586   83  Linux
/dev/sda2            20      2231  17767890    5  Extended
/dev/sda5            20        50    248976   fd  Linux raid
autodetect
/dev/sda6           876      1180   2449881   fd  Linux raid
autodetect
/dev/sda7          1181      1230    401593+  fd  Linux raid
autodetect
/dev/sda8            51       103    425691   fd  Linux raid
autodetect
/dev/sda9           104       358   2048256   fd  Linux raid
autodetect
/dev/sda10          359       875   4152771   fd  Linux raid
autodetect
/dev/sda11         1231      1549   2562336   fd  Linux raid
autodetect
/dev/sda12         1550      2231   5478133+  fd  Linux raid
autodetect

sdb практически зеркало.
В /etc/raidtab ссылки поправил
Все работает пока. Но вот перезагружаться больно боязно. 
/usr /var /tmp на переименованных разделах.
Жить сервак будет, или как?

-- 
Илья


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29  9:39 [Comm] Fdisk на работающем серваке Ilia Menchikh

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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