Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: adegoeij on December 27, 2006, 02:12:10 AM
-
Hi all,
i am trying to add extra disks, but i did not manage to.
the extra disk is at hdd
so i created /mnt/hdd1
and created a ext3 partition there and put file system on it.
But then the trouble starts:
mount -t ext3 /dev/hdd1 /mnt/hdd1
mount: /dev/hdd1 already mounted or /mnt/hdd1 busy
[root@thunderbird /]# ls -l /mnt
total 16
lrwxrwxrwx 1 root admin 13 Dec 24 10:50 floppy -> /media/floppy
drwxrwxrwx 2 root root 4096 Dec 21 17:04 hdb1
drwxr-xr-x 2 root root 4096 Dec 21 17:04 hdd1
drwxr-xr-x 2 root root 4096 Dec 21 17:04 hdd2
drwxr-xr-x 2 root root 4096 Dec 27 01:27 service
[root@thunderbird /]# ll /dev/hd*
brw-rw---- 1 root disk 3, 0 Jan 1 2001 /dev/hda
brw-rw---- 1 root disk 3, 1 Jan 1 2001 /dev/hda1
brw-rw---- 1 root disk 3, 2 Jan 1 2001 /dev/hda2
brw-rw---- 1 root disk 3, 64 Jan 1 2001 /dev/hdb
brw-rw---- 1 root disk 3, 65 Jan 1 2001 /dev/hdb1
brw-rw---- 1 root disk 22, 0 Jan 1 2001 /dev/hdc
brw-rw---- 1 root disk 22, 64 Jan 1 2001 /dev/hdd
brw-rw---- 1 root disk 22, 65 Dec 27 01:51 /dev/hdd1
[root@thunderbird /]# 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)
/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)
[root@thunderbird /]# cat /etc/mtab
/dev/mapper/main-root / ext3 rw,usrquota,grpquota 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/md1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
i have also tried to add to raid with mdadm or lvm, but it is always the same. I seems to be accessible, but exclusive access is not possible
(seen with strace)
What can i do?
Thank you all
-
This was for SME6
http://no.longer.valid/phpwiki/index.php/extra%20hard%20disk
But you should be able to mount your new drive using this HowTo.
If you are not using raid, it should work.
ed
-
Thanks Ed. That is how i did that before the upgrade to sme7.
I had 2 disks filled with movies and mp3 that i wanted to keep, so i removed them before the upgrade and replaced them after...
But i could not manage, with mentioned commands.. While syntactical all
the commands are ok, i suspected some problem somewhere but did not managed. I googled all the newsgroups and centos groups but did not found something simular.
-
Hi,
I can confirm there should not be any issue to add an extra disk to a SME7 install.
Could we guess that on a first time you do not exactly type the above command and from now as
have also tried to add to raid with mdadm or lvm, but it is always the same. I seems to be accessible, but exclusive access is not possible
you disk is now part of the raid array, which lock it as busy.
Check with a mdadm -D that hdd has not been placed under the raid control.
I am also confused with this so i created /mnt/hdd1
and created a ext3 partition there and put file system on it.
this does not have many meaning in Linux word : you cannot create a FS within a directory.
you should have :!: caution :!: do not use it on disk with data you don't want to loose :!: fdisk /dev/hdd ##create a partition on the disk
mke2fs /dev/hdd1 ## create file system on the partition
mount /dev/hdd1 /mnt/hdd1 ## mount point for your disk - have to exists
G.
-
I am experiencing the same problem
i have a running sme7 server with 1x IDE drive
i installed a sata drive, I can see, partition and format the drive
it works fine on my ubuntu desktop
but there is no way i can get it mounted on the sme server
tried doing the usual /etc/fstab in run level 1 .. nop, the drive is always busy doing something else
i need help
merci,