You can change the partition type at any time without stopping the array --
you won't lose any data either.
It's only used for partition management (i.e. fdisk, auto-RAID, etc).
________________________________________
Michael D. Black   Principal Engineer
[EMAIL PROTECTED]  321-676-2923,x203
http://www.csihq.com  Computer Science Innovations
http://www.csihq.com/~mike  My home page
FAX 321-676-2355
----- Original Message -----
From: "root" <[EMAIL PROTECTED]>
To: "David Cooley" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 27, 2000 1:57 PM
Subject: Re: superblock or the partition table is corrupt?


Thanks,
so I should be able to do the following without loss to date right?




1. umount /dev/md0
2. raidstop /dev/md0
3.  change partition types on /dev/sda5 and /dev/sdb5 to fd (was linux)
4. raidstart /dev/md0
5  mount -t ext2 /dev/md0 /mirrored_databases


My /etc/raidtab:

# persistent RAID1 array with no  spare disk.
raiddev /dev/md0
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4
    device                    /dev/sda5
    raid-disk                 0
    device                    /dev/sdb5
    raid-disk                 1



One last note: I'm running this machine as a backend database
for a busy website, is the chunksize too small?
Everything seems to be running ok. If it ain't broke?


/proc/mdstat:

Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb5[1] sda5[0] 1999936 blocks [2/2] [UU]
unused devices: <none>



On Mon, 27 Mar 2000, David Cooley wrote:

> If you needed to run mke2fs, you wouldn't be able to access the raid as a
> file system right now...  That is the equivalent of a DOS format.
> Option FD doesn't show in the list on fdisk... you just have to select
type
> then enter fd and return.
>
>
> ===========================================================
> David Cooley N5XMT Internet: [EMAIL PROTECTED]
> Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
> We are Borg... Prepare to be assimilated!
> ===========================================================
>

Reply via email to