Re: Raid Level 1 and me

From: Justin Guerin (jguerin_at_cso.atmel.com)
Date: 02/18/04

  • Next message: Darin Strait: "Loading i810 module seems to fail during boot, but loads fine manually"
    Date: Wed, 18 Feb 2004 13:25:06 -0700
    To: debian-user@lists.debian.org
    
    

    On Wednesday 18 February 2004 12:49, Steve Lianoglou wrote:
    > Hi Folks,
    >
    [snip lots of useful info]
    > so I do a
    >
    > > mdadm /dev/md8 --add /dev/hda8
    >
    > to put /dev/hda8 back online (my tmp directory, which has the lowest fear
    > factor of messing with/up for me) i check /proc/mdstat .. it shows it's
    > syncing ... and when it finally syncs, it shows that both drives are up
    > and runninig in the raid array (as they should be!):
    >
    > md8 : active raid1 hda8[0] hdc8[1]
    > 256896 blocks [2/2] [UU]
    >
    >
    > which looks good .. but everytime I restart, /dev/hda8 drops off of the
    > array!
    >
    > What's happening?
    >
    >
    You don't mention this, but did you change your /etc/raidtab file to
    indicate that hda was no longer a broken disk, but a live part of the
    array?

    >
    > some debugging info:
    > This is a clean (and minimal?) debian woody install
    > I recompiled the kernel w/ RAID1 support and what not.
    >
    > When I was copying over my files from my working /dev/hda install I
    > wasn't exactly sure of the best way to copy over all of the files on
    > /dev/hda3 (whch is mounted at /) so I just copied each directory that
    > wasn't on another partition (like /usr, /var, /home, etc) one by one,
    > then I created mount points on / for each of the filesystems to mount
    > there (so I made a dir on my /dev/md3 device for /usr my raid usr
    > partition had a place to mount and so on ... i feel like this may be
    > causing some type of problems, because I'm getting some weird perms
    > errors unless I am root .. for instance, if I log in as my admin user and
    > type vi, i get a perm error like: ex/vi: Error: Unable to create
    > temporary file: Permission denied which I feel like shouldn't happen ..
    > would that have something to do w/ anything at this stage of the game?)
    >
    >
    You probably didn't use the -p switch when you copied, so you applied the
    umask of the root user to all files you copied. Those permissions are
    likely too restrictive. Check the original partitions on hda, if they
    still exist. If the permissions are different, then you'll need to change
    them.

    [snip more useful information that seemed correct]

    Justin Guerin

    [sorry for the excess snippage. :-)]

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Darin Strait: "Loading i810 module seems to fail during boot, but loads fine manually"

    Relevant Pages

    • Re: OT: Win 7 comments
      ... Finding items in and working with the registry is a lot more hazardous than ... this stuff is like my declaring that Macs are junk because you have to repair permissions all the time. ... That's odd, consider how some of you guys bring the same habits to Windows, and then decide the registry is crap because of it. ...
      (comp.sys.mac.advocacy)
    • Re: Why Refractors are Better!
      ... when Jeff used to mount his 11 inch refractor on a German ... Combination of reflector and refractor. ... mirrors other mirrors that fold it to the side and direct it into a refractor ...
      (sci.astro.amateur)
    • Re: Cannot mount old drive with LVM partition - help!
      ... Are you sure you can't mount the hdb2 now on FC5? ... but you should be able to turn off lvm vgchange -an. ... [root@ohmster mnt]# df ...
      (alt.os.linux)
    • Re: Adding a new hard drive
      ... 2, create the mount point; ... Shown below is what happens when I umount /local2, delete the mount point, recreate the mount point with mkdir and mount the device. ... mkdir /local2 results in the ownership being set to root.root and access flags as 755. ...
      (alt.os.linux.suse)
    • Re: Public Folder Permission problem
      ... and how was he given permissions (and what ... messages in the folder. ... having Universal groups. ...
      (microsoft.public.exchange.admin)