[Eclug] Debian no longer recognized partitions

  • Previous message: [Eclug] Debian no longer recognized partitions
  • Next message: [Eclug] Debian no longer recognized partitions
  • Chacko Cherackal cherackal at hotmail.com
    Fri Nov 17 11:04:21 EST 2006

     

    I tried loading the old kernel but the drives still come up as sd[abcd] so 
    I'm wondering if something else was upgraded by apt-get at the same time 
    that broke things.  Unfortunatley I typically run apt-get without paying 
    attention to what its upgrading so I don't know what that might be.
    
    I thought about trying to mount the drives, but I don't want to mount them 
    to any specific folders so I'm not sure how that would work.  I just want to 
    force the system to recognize that there are partitions on those drives.  
    Since I need to assemble them as an array after the partitions are 
    recognized I'm worried that mounting them might cause them to be locked to 
    whatever mount point I specify, if that makes any sense.  I also don't know 
    how the filesystem would work since nothing is going to be able to read the 
    filesystem on the disk other than mdadm.  I don't even think its a valid 
    file system until its combined into the array.  I'll try this when I get 
    home though and see what happens, probably couldn't hurt anything.
    
    If this doesn't work I'm going to try Jason's suggestion of forcing 
    recognition using mknod.  I'm holding off to use that as a last resort 
    because it seems like something I could use to muck things up even further.  
    That said, given how much success I've had so far, its sounding like this 
    may be required.
    
    Thanks again for the guidance so far guys.  If anyone else has any added 
    input I'm all ears.
    
    
    >From: Ro <ro at rohitnet.dyndns.org>
    >Reply-To: "Eastern Connecticut Linux Users' Group" <eclug at lists.eclug.net>
    >To: "Eastern Connecticut Linux Users' Group" <eclug at lists.eclug.net>
    >Subject: Re: [Eclug] Debian no longer recognized partitions
    >Date: Fri, 17 Nov 2006 08:28:05 -0500
    >
    >Can you reboot off the old kernel?
    >
    >Debian doesn't usually remove old kernels.  It leaves a big long
    >chain of them accessible in lilo.conf or menu.lst.
    >
    >I don't know anything about software raid, but if you can fdisk -l /dev/sda
    >and see /dev/sda1, you shoudl be able to mount that filesystem.  But since
    >you said it's raid 5, I am guessing you need to mount at least 3 
    >filesystems
    >simultaneously to get your system mounted.
    >
    >I wish I knew the right questions about mdadm to ask.  I'm forwarding your
    >email to someone else who uses software raid.
    >
    >Rohit
    >
    >Chacko Cherackal wrote:
    >>I have a debian box with an IDE boot drive and 4 SATA drives used in a 
    >>software raid 5 configuration with mdadm.  This was been working 
    >>completely fine.  A few days ago I rebooted after a kernel update and now 
    >>the partitions on the drives aren't recognized.  Before they showed up as 
    >>/dev/sd[abcd]1 but now the only things showing up are /dev/sd[abcd]
    >>
    >>roo:/home/fnet# ls -l /dev/sd*
    >>brw-rw---- 1 root disk 8,  0 2006-11-16 19:11 /dev/sda
    >>brw-rw---- 1 root disk 8, 16 2006-11-16 19:11 /dev/sdb
    >>brw-rw---- 1 root disk 8, 32 2006-11-16 19:11 /dev/sdc
    >>brw-rw---- 1 root disk 8, 48 2006-11-16 19:11 /dev/sdd
    >>
    >>fdisk seems to indicate that the partition tables are still there, but I 
    >>can't work out why they are no longer recognized as /dev/sd[abcd]1.  Is 
    >>there any way to force the system to recognize the partitioned drives?  As 
    >>it stands I can't reassemble my array.  Apologies if my terminology is off 
    >>but but hopefully my question is clear.  Any information our pointers you 
    >>can provide would be very much appreciated.  I really don't want to lose 
    >>the data on those disks.  Below is the output from fdisk.  If any other 
    >>information would be useful please let me know and I'll post it.  Thanks 
    >>all.
    >>
    >>-Chacko
    >>
    >>roo:/home/fnet# fdisk -l /dev/sd[abcd]
    >>
    >>Disk /dev/sda: 500.1 GB, 500107862016 bytes
    >>255 heads, 63 sectors/track, 60801 cylinders
    >>Units = cylinders of 16065 * 512 = 8225280 bytes
    >>
    >>   Device Boot      Start         End      Blocks   Id  System
    >>/dev/sda1               1       60801   488384001   83  Linux
    >>
    >>Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    >>255 heads, 63 sectors/track, 60801 cylinders
    >>Units = cylinders of 16065 * 512 = 8225280 bytes
    >>
    >>   Device Boot      Start         End      Blocks   Id  System
    >>/dev/sdb1               1       60801   488384001   83  Linux
    >>
    >>Disk /dev/sdc: 500.1 GB, 500107862016 bytes
    >>255 heads, 63 sectors/track, 60801 cylinders
    >>Units = cylinders of 16065 * 512 = 8225280 bytes
    >>
    >>   Device Boot      Start         End      Blocks   Id  System
    >>/dev/sdc1               1       60801   488384001   83  Linux
    >>
    >>Disk /dev/sdd: 500.1 GB, 500107862016 bytes
    >>255 heads, 63 sectors/track, 60801 cylinders
    >>Units = cylinders of 16065 * 512 = 8225280 bytes
    >>
    >>   Device Boot      Start         End      Blocks   Id  System
    >>/dev/sdd1               1       60801   488384001   83  Linux
    >>
    >>_________________________________________________________________
    >>Stay up-to-date with your friends through the Windows Live Spaces friends 
    >>list. 
    >>http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
    >>
    >>
    >
    
    _________________________________________________________________
    MSN Shopping has everything on your holiday list. Get expert picks by style, 
    age, and price. Try it! 
    http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tcode=wlmtagline
    
    
    

     

     

    More information about the ECLUG mailing list