Coda File System

Can't write to data partition

From: Ian Smith <>
Date: Thu, 04 Sep 2003 14:14:59 +0100
Hash: SHA1

OK I decided to start again, only this time with proper partitions 
instead of files.  This is the layout I set up:

4 $ sudo fdisk -l /dev/hda

Disk /dev/hda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1      1275  10241406    5  Extended
/dev/hda2          1276      1401   1012095   82  Linux swap
/dev/hda3          1402      1901   4016250   83  Linux
/dev/hda4          1902      2482   4666882+  83  Linux
/dev/hda5             1         5     40099+  83  Linux
/dev/hda6             6        45    321268+  83  Linux
/dev/hda7            46      1275   9879943+  83  Linux

With /dev/hda5 as the log partition and /dev/hda6 for data.  /dev/hda7 
will be used as /vicepa.  Note they are all logical partitions.  Here is 
the tail of the transcript . . .

- -------------------------------------------------------
WARNING: you are going to play with your partitions now.
verify all answers you give.
- -------------------------------------------------------

WARNING: these choices are not easy to change once you are up and running.

Are you ready to set up RVM? [yes/no] yes

What is your log partition? /dev/hda5

The log size must be smaller than you log partition.  We
recommend not more than 30M log size, and 2M is a good choice.
What is your log size? (enter as e.g. '2M') 30M

What is your data partition (or file)? /dev/hda6

The data size must be approx 4% of you server file space.  We
have templates for servers of approx: 500M, 1G, 2.2G, 3.3G, 8G
(you can store less, but not more on such servers).
The corresponding data sizes are  22M, 44M, 90M, 130M, 315M.
Pick one of the defaults, otherwise I will bail out

Remember that RVM data will have to be mmapped or loaded
into memory, so if anything fails with an error like
RVM_EINTERNAL you might have to add more swap space.

What is the size of you data partition (or file)
[22M, 44M, 90M, 130M, 200M, 315M]: 315M

- --------------------------------------------------------
WARNING: DATA and LOG partitions are about to be wiped.
- --------------------------------------------------------

   --- log area: /dev/hda5, size 30M.
   --- data area: /dev/hda6, size 315M.

Proceed, and wipe out old data? [y/n] y

LOG file has been initialized!

Rdsinit will initialize data and log.
This takes a while.
rvm_initialize succeeded.
Going to initialize data file to zero, could take awhile.
?  Couldn't write to /dev/hda6.
Your coda server is not completely setup.  You will need
set it up by hand or fix the problems and rerun /usr/sbin/vice-setup.

Has anyone seen this before?

- -- 
Ian Smith

Saltstone Media Limited
The Old Workhouse, Union Road,
Kingsbridge, Devon TQ7 1EQ

tel: +44 (0) 1548 854038
fax: +44 (0) 1548 854039

Version: GnuPG v1.2.2 (GNU/Linux)

Received on 2003-09-04 09:16:01