Sponsored Content
Top Forums UNIX for Advanced & Expert Users Software Raid - changed devices Post 56889 by malcom on Thursday 14th of October 2004 04:21:12 AM
Old 10-14-2004
Software Raid - changed devices

Good Morning all,

I just have a quick question, on some systems I am working with Software Raid Level 0 devices.

Yes, I know, this is not a good idea, but it was requested :-(

Now, due to a new requirement, I need to add a second internal disk to the system, but with adding the new disk, all device links of the external disks, /dev/sdg ..., will move one step further.
I tried this on a test system, modified the /etc/raidtab and when I started the raid device, I got the error message that not all devices were aviable.
I check a bit the configuration and the raid configuration itself looks like it is also written to the Superblock of each physical raid device.... and not only to /etc/raidtab ?

Now, I am lookig for a decent solution how to change the raid configuration, I could recreat the raid system after backing up the data, but this I would like to avoid because of time which is needed for it.
I also could fix the counting order of the currently used disk, so the new added disk would start behind the last currently used disk, but this is some kind of special hack, I also would like to avoid ...


Any ideas ?

Btw, I am running RedHat AS 2.1 on a multiprozessor system.

Thnx in advance

Malcom
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Using loopback devices in RAID?

Hopefully I am posting this silly question in the right place... I was wondering about the possibility of using loopback files on a physical disk to create virtual disks that could shrink or grow as needed. Something like RAID 0, but instead of using block devices, just using files. If I need... (0 Replies)
Discussion started by: deckard
0 Replies

2. UNIX for Advanced & Expert Users

Software RAID ...

Hi all, I m just trying using software RAID in RHEL 4, without problem , then i wanna simulate if disk 1 is fail (thereis an bootloader), i plug off my 1st disk. My problems is the second disk cannot boot? just stuck in grub, the computer is hang. Sorry for poor concept in RAID? I use a RAID 1.... (0 Replies)
Discussion started by: blesets
0 Replies

3. HP-UX

Software RAID (0+1)

Hi! A couple of months ago a disk failed in our JBOD cabinett and I have finally got a new disk to replace it with. It was a RAID 0 so we have to create and configure the whole thing again. First we thought of RAID 1+0 but it seems you can't do this with LVM. If you read my last thread, you can... (0 Replies)
Discussion started by: hoff
0 Replies

4. Linux

Creating MD-raid devices - post install

Hi everyone. I have a machine which upon to recently only had one hard disk. Now I have another one identical in size and speed and want create a raid set from those two. The partition layout is that I have three partitions, first one for /boot, the second for / and then a huge LVM partition... (1 Reply)
Discussion started by: Sprellarinn
1 Replies

5. Linux

Software RAID on Linux

Hey, I have worked with Linux for some time, but have not gotten into the specifics of hard drive tuning or software RAID. This is about to change. I have a Dell PowerEdge T105 at home and I am purchasing the following: 1GBx4 DDR2 ECC PC6400 RAM Rosewill RSV-5 E-Sata 5 bay disk enclosure... (6 Replies)
Discussion started by: mark54g
6 Replies

6. Filesystems, Disks and Memory

Software RAID

Hello, My company has inherited a Centos based machine that has 7 hard drives and a software based raid system. Supposedly one of the drives has failed. I need to replace the hardrive. How can I about telling which hard drive needs replacing? I have looked in the logs and there clearly is a... (5 Replies)
Discussion started by: mojoman
5 Replies

7. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

8. Red Hat

Software RAID configuration

We have configured software based RAID5 with LVM on our RHEL5 servers. Please let us know if its good to configure software RAID on live environment servers. What can be the disadvantages of software RAID against hardware RAID (4 Replies)
Discussion started by: mitchnelson
4 Replies

9. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies
SFILL(1)						      General Commands Manual							  SFILL(1)

NAME
sfill - secure free disk and inode space wiper (secure_deletion toolkit) SYNOPSIS
sfill [-f] [-i] [-I] [-l] [-l] [-v] [-z] directory/mountpoint DESCRIPTION
sfill is designed to delete data which lies on available diskspace on mediums in a secure manner which can not be recovered by thiefs, law enforcement or other threats. The wipe algorythm is based on the paper "Secure Deletion of Data from Magnetic and Solid-State Memory" pre- sented at the 6th Usenix Security Symposium by Peter Gutmann, one of the leading civilian cryptographers. The secure data deletion process of sfill goes like this: * 1 pass with 0xff * 5 random passes. /dev/urandom is used for a secure RNG if available. * 27 passes with special values defined by Peter Gutmann. * 5 random passes. /dev/urandom is used for a secure RNG if available. afterwards as many temporary files as possible are generated to wipe the free inode space. After no more temporary files can be created, they are removed and sfill is finnished. COMMANDLINE OPTIONS
-f fast (and insecure mode): no /dev/urandom, no synchronize mode. -i wipe only free inode space, not free disk space -I wipe only free disk space, not free inode space -l lessens the security. Only two passes are written: one mode with 0xff and a final mode with random values. -l -l for a second time lessons the security even more: only one random pass is written. -v verbose mode -z wipes the last write with zeros instead of random data directory/mountpoint this is the location of the file created in your filesystem. It should lie on the partition you want to write. LIMITATIONS
FILESYSTEM INTELLIGENCE Most filesystems (ext2, ffs, etc.) have several features included to enhance performance, which will result in that sfill might not receive all available free space. Sad but true. Nothing can be done about that ... NFS Beware of NFS. You can't ensure you really completely wiped your data from the remote disks. (especially because of caching) Raid Raid Systems use stripped disks and have got large caches. It's hard to wipe them. swap Some of your data might have a copy in your swapspace. sswap is available for this task. BUGS
No bugs. There was never a bug in the secure_deletion package (in contrast to my other tools, whew, good luck ;-) Send me any that you find. Patches are nice too :) AUTHOR
van Hauser / THC <vh@thc.org> DISTRIBUTION
The newest version of the secure_deletion package can be obtained from http://www.thc.org sfill and the secure_deletion package is (C) 1997-2003 by van Hauser / THC (vh@thc.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; Version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. SEE ALSO
srm (1), sswap (1), sdmem (1) SFILL(1)
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy