ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Community@altlinux.ru
Subject: [Comm] MySQL and rawdevices (chroot?)
Date: Wed, 29 Jun 2005 16:06:44 +0400
Message-ID: <42C28ED4.2060008@stc.donpac.ru> (raw)

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

Вот захотелось пощупать MySQL/InnoDB на предмет работы с rawdevices.

Раздел, который хочется ему отдать - /dev/system/db (LVM). Пробовал 
также использовать rawdevices по аналогии с ораклом, указав раздел в 
/etc/sysconfig/rawdevices.

В my.cnf примерно следующее:

innodb_data_home_dir =
innodb_data_file_path = /dev/raw/raw1:3Gnewraw

Если создать ссылку на устройство внутри чрута, а пользователя mysql 
поместить в группу disk, чтоб он смог читать/писать на это устройство, 
то в логе получаю следующее:

2005-Jun-29 15:54:00 :: startup
050629 15:54:00  InnoDB: Operating system error number 40 in a file 
operation.
InnoDB: See http://www.innodb.com/ibman.php for installation help.
InnoDB: Error number 40 means 'Too many levels of symbolic links'.
InnoDB: See also section 13.2 at http://www.innodb.com/ibman.php
InnoDB: about operating system error numbers.
InnoDB: File name /dev/raw/raw1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
2005-Jun-29 15:54:00 :: execution failed
2005-Jun-29 15:54:00 :: shutdown

Дело ли в чруте или есть другие причины? Может просто сделать ссылку и 
поместить в группу disk недостаточно?

-- 
С уважением, Прокопьев Евгений


             reply	other threads:[~2005-06-29 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29 12:06 Eugene Prokopiev [this message]
2005-06-29 12:17 ` Eugene Ostapets
2005-06-29 12:23   ` Michael Isachenkov

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=42C28ED4.2060008@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=Community@altlinux.ru \
    /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 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