Samba Server Configuration in Centos 6.2
-
@scottalanmiller said:
@thanksajdotcom said:
You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done.
It's the same anywhere, once you've installed which is just "yum install samba"
Ok. I've set it up but I had tutorials I was following. I don't remember all the steps off the top of my head. I know you have to setup shares in the smb.conf file and point to the directories, set permissions, etc. Also, creating groups and/or users is important too.
-
This is an example of one of my shares in my /etc/samba/smb.conf file.
[goflex_landcare] comment = GoFlex Landcare path = /media/goflex_landcare available = yes public = yes writable = yes browsable = yes guest ok = yes read only = no create mask = 0755
-
Now, I use the /media/goflex_landcare folder to mount my NAS into, but the principal is the same.
-
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard
-
@scottalanmiller said:
@thanksajdotcom said:
You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done.
It's the same anywhere, once you've installed which is just "yum install samba"
You probably want to install samba-common too and possibly the client.
-
@Lakshmana said:
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.
If the box is up, RAID is fixed. It's already tested. RAID cannot impact services. Either the system works or it doesn't, it is black and white.
-
@Lakshmana said:
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard
Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt? Can't you just test access locally and verify all the files are there? You could even use something like SCP to copy the files to another Linux box and then see if you can read them from there. That would be easier, IMO.
-
@Lakshmana said:
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard
It sounds like you just need to access things the way that they were accessed before. Why do something new?
-
@Lakshmana said:
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard
This isn't really the best way to do this. Why does he not just look from the terminal or use SCP to browse the files.
-
-
@thecreativeone91 said:
@Lakshmana said:
@thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard
This isn't really the best way to do this. Why does he not just look from the terminal or use SCP to browse the files.
Beat ya to it!
-
@thanksajdotcom said:
Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt?
What he's testing won't even tell him if RAID is fixed or not. It will tell the manager nothing.
-
-
@Lakshmana said:
@Lakshmana said:
clien
I cant understand scott
SCP is a way to copy files from one Linux box to another. You can even download a free tool like WinSCP for Windows and copy files from the Linux box to the Windows box and try to open them in notepad or whatever, depending on the file type.
-
@scottalanmiller said:
@thanksajdotcom said:
Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt?
What he's testing won't even tell him if RAID is fixed or not. It will tell the manager nothing.
Even if it's not rebuilt the files will still be there with a broken RAID (well depending on how broken).
-
@scottalanmiller said:
@thanksajdotcom said:
Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt?
What he's testing won't even tell him if RAID is fixed or not. It will tell the manager nothing.
That's what I'm saying. I'm confused by what he's saying he's trying to accomplish versus what he's doing.
-
@scottalanmiller said:
@Lakshmana said:
@Lakshmana said:
clien
I cant understand scott
Where did I say that?
I think he meant he doesn't understand what you're talking about or is confused. As are we.
-
@thecreativeone91 said:
@scottalanmiller said:
@thanksajdotcom said:
Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt?
What he's testing won't even tell him if RAID is fixed or not. It will tell the manager nothing.
Even if it's not rebuilt the files will still be there with a broken RAID (well depending on how broken).
Agreed. Especially in a RAID1.
-
@scottalanmiller RAID is fixed without any issues.But I having the doubt if I change new motherboard for this RAID hard disk whether any data loss may occur or not?Whether any issue will take place while canging new motherboard.I have connected the hrd disk at G31T motherboard.But I need to access the data after changing the two hard disk in Q45 motherboard.Whether this is possible without any data loss?
-
@thanksajdotcom said:
That's what I'm saying. I'm confused by what he's saying he's trying to accomplish versus what he's doing.
He is trying to satisfy irrational and illogical rants of a non-technical manager who has no idea what he is asking for. The "goal" here, is not to do something that works, but to provide feedback that makes no sense. We have to accept that his manager, not him, is creating impossible and senseless requirements and putting clients at risk. The manager doesn't know what RAID is and is refusing to learn about IT basics but also refusing to let the tech do his job.
So this is where he is, trying to figure out how to satisfy the manager who is asking for things that are impossible.