Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: tviles on October 29, 2010, 07:09:29 PM
-
Sorry I just need some help so that I can make this visible on the network. If you need more just tell me what commands to enter and I will reply back. Thanks Tracy I tried to follow along the add disk procedure but I must have missed something.
[root@shpdserver police]# ls -l /mnt/hill/ibays/police
total 1768
drwxrwxr-x 2 admin admin 4096 Apr 23 2009 2009 KS Traffic Safety Conference Videos
drwxrwxr-x 2 admin admin 4096 Oct 15 2007 cgi-bin
drwxrwxr-x 3 admin admin 4096 Dec 1 2008 Cty_Server
drwxrwxr-x 58 admin admin 4096 Oct 29 11:33 files
drwxrwxr-x 2 admin admin 4096 Sep 28 2008 html
-rwxrwxr-x 1 admin admin 56832 Oct 26 14:47 Juvenile Submission Checklist.doc
-rwxrwxr-x 1 admin admin 1723392 Dec 5 2009 KLER Department Training 2009.ppt
[root@shpdserver police]#
-
Hi
If you NEED this exact directory to be shared, search for smb.conf on google, an create a template to share it.
I´d like to suggest you to create an ibay and put the conten there...inside files or html (depends how it will be accessed) but I´m not sure why you need to share THIS directory.
Could you explain ?
Regards
Jáder
-
Server crashed due to bad scsi drives running SME software. All the data was being stored on this 1TB sata drive sitting in belly of server and it is still good. The 1TB drive was a symlink'd ibay before crash. Have reloaded SME after replacing bad drives. I can see this data on the 1TB and if I could share it out I could map the users to it so they could continue working.
-
I can't create a ibay on the newly installed SME server that would hold enough data. It runs on the older 36 gig scsi's. The 1 TB has about 200 gig of data on it.
-
I have created an ibay called police and trying to symlink it to the folder on the 1tb.
-
I have created an ibay called police and trying to symlink it to the folder on the 1tb.
create the ibay.. let's say its name is police
then edit your /etc/fstab file and ad a line like this
/dev/sdX1 /home/e-smith/files/ibays/police/files ext3 defaults 0 0
where sdX1 is the right disk and partition
save and reboot your server
when it's up & running, open server-manager, edit that ibay (i.e. change the owner group) and save.. then repeat the action resetting the right group
done
HTH
-
This is what I have in the fstab file now.
I added the sda1 line and server does reboot fine with this.
Let me reread your last post again and thanks for the help.
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few entries are updated during
# the template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/fstab/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/main/root / ext3 usrquota,grpquota 1 1
/dev/md1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/main/swap swap swap defaults 0 0
/dev/sda1 /mnt/hill ext3 usrquota,grpquota 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
-
you did not add the line as I suggested, it will not work as you wish..
-
Rebooting now.
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few entries are updated during
# the template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/fstab/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/main/root / ext3 usrquota,grpquota 1 1
/dev/md1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/main/swap swap swap defaults 0 0
/dev/sda1 /home/e-smith/files/ibays/police/files ext3 defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
-
Stefano I love you! Thanks so much. Now I can start getting the desktop reconnected to the domain.
-
Stefano I love you!
if you are not a woman, sorry, I'm not bisex ;-)
you're welcome
-
if you are not a woman, sorry, I'm not bisex ;-)
you're welcome
:-P :D :smile:
-
/dev/sda1 /mnt/hill ext3 usrquota,grpquota 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
This is rather unusual. Your raid system apparently does not include /dev/sda and does not include /dev/hda. What does:
cat /proc/mdstat
show?
-
Go ahead and tell me even if it is bad.
sda is a sata 1tb on a pci to sata card.
[root@shpdserver ~]# cat /proc/mdstat
Personalities : [raid1] [raid5]
md2 : active raid5 sdb2[0] sdf2[4] sde2[3] sdd2[2] sdc2[1]
141820928 blocks level 5, 256k chunk, algorithm 2 [5/5] [UUUUU]
md1 : active raid1 sdb1[0] sdf1[4] sde1[3] sdd1[2] sdc1[1]
104320 blocks [5/5] [UUUUU]
unused devices: <none>
[root@shpdserver ~]#
-
sda was not part of the raid before the crash it was a symlink ibay for shared data. When I reloaded the sme server software I left sda unplugged.
See how I have now plugged sdg back in now? It is the last backup. It is an external 1TB usb hard drive. I believe the data on there was over a week old. It (sdg) does (should) contain the private networked drives (users) information I believe. I would like to access that but not sure if I can create an ibay like I did with sda so that I could pick and choose from it. Example is if I setup a user called shpd15 he can see on his desktop a shared ibay (police) and a private network drive called shpd15. Most users never put any data into the private network drive called shpd15 but some did. I'm sure some of them will ask for that data soon. Although sdg is plugged in I do not have any backup's scheduled yet so as to not overwrite data on sdg.
[root@shpdserver ~]# fdisk -l|more
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 83 Linux
Disk /dev/sdb: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 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 4427 35455455 fd Linux raid autodetect
Disk /dev/sdc: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 104391 fd Linux raid autodetect
/dev/sdc2 14 4427 35455455 fd Linux raid autodetect
Disk /dev/sdd: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 13 104391 fd Linux raid autodetect
/dev/sdd2 14 4427 35455455 fd Linux raid autodetect
Disk /dev/sde: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 * 1 13 104391 fd Linux raid autodetect
/dev/sde2 14 4427 35455455 fd Linux raid autodetect
Disk /dev/sdf: 73.5 GB, 73543163904 bytes
255 heads, 63 sectors/track, 8941 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 * 1 13 104391 fd Linux raid autodetect
/dev/sdf2 14 8941 71714160 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/md2: 145.2 GB, 145224630272 bytes
2 heads, 4 sectors/track, 35455232 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-0: 143.0 GB, 143076098048 bytes
2 heads, 4 sectors/track, 34930688 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-1: 2080 MB, 2080374784 bytes
2 heads, 4 sectors/track, 507904 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/sdg: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdg1 1 121601 976760001 c W95 FAT32 (LBA)
[root@shpdserver ~]#
-
[root@shpdserver ~]# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/main-root
ext3 137530456 2159216 128385104 2% /
/dev/md1 ext3 101018 23812 71990 25% /boot
none tmpfs 1037428 0 1037428 0% /dev/shm
/dev/sda1 ext3 961432072 156054112 756539960 18% /home/e-smith/files/ibays/police/files
[root@shpdserver ~]#