Koozali.org: home of the SME Server

Cannot mount additional disk to sme 7.3 following howto, device busy

Offline jptechnical

  • ***
  • 68
  • +0/-0
Followed these instructions (not tough though... pretty standard linux, the telinit 1 was new to me though) http://wiki.contribs.org/AddExtraHardDisk, I also reviewed this one http://wiki.contribs.org/AddExtraHardDisk_-_SCSI and didn't see anything related to this issue.

I have searched extensively through the forums and found nothing else I haven't tried. All the forum posts point back to the howto or were used to update the howto. I searched the wiki and only found the one howto for adding an additional disk, nothing about adding an additional array.

When mounting the disk, I always get device busy errors.

I have a Dell PowerEdge 400sc with 2x300gig sata drives (sda,sdb) in md0,1 and 2x250gig pata drives in hda,hdc that I can't mount and finally an 80gig usb drive at sdc which mounts fine. I originally installed on the 2 sata drives and the raid was magically setup (I really like sme!), so I didn't have to do anything there. I added the two pata drives after I had everything installed and working to my liking... svn repos, ibays, backup contribs and the like just how I want it.

I know that the two pata drives do not show up in the bios... so I will check the termination... but they are both set to master, I will set to CS or nothing and see if it makes any difference. But it is crazy that fdisk and mkfs.ext3 can both read and write to the drive just fine, I just can't mount it.

Ideally, I would like to make another raid (md3) and mount it in an ibay, but I would be fine with mounting an individual drive in an ibay and then rsync every night to the other drive.

Code: [Select]
[root@pe400sc ~]# df -v
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
                     286219752 103813504 167867088  39% /
/dev/md1                101018     20536     75266  22% /boot
none                   1557356         0   1557356   0% /dev/shm
/dev/sdc1             77531744  11608364  62015972  16% /media/80gigbackup2
[root@pe400sc ~]# mount -a
mount: /dev/hda1 already mounted or /mnt/test busy

Code: [Select]
[root@pe400sc ~]# mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2  /dev/hda1 /dev/hdc1
mdadm: Cannot open /dev/hda1: Device or resource busy
mdadm: Cannot open /dev/hdc1: Device or resource busy
mdadm: create aborted
[root@pe400sc ~]# mount -t ext3 /dev/hda1 /ide1
mount: /dev/hda1 already mounted or /ide1 busy
[root@pe400sc ~]# mount
/dev/mapper/main-root on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdc1 on /media/80gigbackup2 type ext3 (rw,nosuid,nodev)
fdisk -l, I followed the directions from the howto, and in addition did it another way I was familiar with, so there might be some inconsistencies there.
Code: [Select]
[root@pe400sc ~]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/hda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1       30401   244196001   83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/hdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1       30401   244196001   83  Linux

Disk /dev/sda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14       36481   292929210   fd  Linux raid autodetect

Disk /dev/sdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/sdb2              14       36481   292929210   fd  Linux raid autodetect

Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md2: 299.9 GB, 299959386112 bytes
2 heads, 4 sectors/track, 73232272 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/dm-0: 297.7 GB, 297762029568 bytes
2 heads, 4 sectors/track, 72695808 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
2 heads, 4 sectors/track, 507904 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        9729    78148161   83  Linux

Offline jptechnical

  • ***
  • 68
  • +0/-0
Re: Cannot mount additional disk to sme 7.3 following howto, device busy
« Reply #1 on: September 29, 2008, 04:46:31 PM »
I changed the jumper on the hard drives, they are now recognized by the bios. However, it still will not mount the drives, says busy.

Any ideas?

Offline jptechnical

  • ***
  • 68
  • +0/-0
Re: Cannot mount additional disk to sme 7.3 following howto, device busy
« Reply #2 on: September 29, 2008, 05:35:32 PM »
I changed the drives out with two different drives, 2x160gig pata drives. They are seen in the bios, fdisk sees them and can create partitions, mkfs.ext3 can make a filesystem on them... but nothing can mount them.

I have hit a wall. Any ideas out there?