Red Hat / Fedora :: Format For Server & RAID Setup For Multi Platform Read/write/access?
Jun 23, 2011
I'm looking to set up a server with attached mass storage device and tape autoloader to run linux. It's set up under Windows at the moment. Goal is to have users, connecting from individual workstations and laptops, backup their data to the linux server. On their personal machine, some users run linux, some MacOS, some Windows. I plan to set up the 5 500 GB drives as RAID5. I understand that if setting up as software raid the format is "physical volume for RAID". Under this setup, will Windows users be able to read/write and function as expected? I can't assume only linux user access.
I am pretty new to Ubuntu and am practicing on an old desktop as a file print and domain controller for a work from home business while I build and configure a Linux server. My question is as follows: I have a laptop running windows 7, my wife has a MacPro running Snow Leopard, the kids have desk top running Ubuntu 10.04, I have a 500GB additional disk in the spare desktop which I want to use as a netork drive that will:
1) Win 7 backup location from the Laptop 2) Store backups of large photoshop files and other graphicsy type stuff from my wifes macpro. 3) Act as a shared directory for all of us 4) Store large multimedia files, mpegs etc
What is the best disk partition format - Am I restricted to NTFS due to the requirements to store Win 7 Backup files Secondly can anyone point me in the direction of a URL for getting the Samba permissions sorted for Windows 7, The kids PC dual boots Win XP and Ubuntu 10.04 Win XP is no problem to network but in Win 7 I can see all the shares in the network map but I always get permission errors both from the Ubuntu PC and Win 7 laptop. Most of the help files and manuals deal with 98/Me/XP and not windows vista / 7 that I can find.
On opening nautilus,it shows the XP ad Fedora partitions.Clicking on them mounts the partition.However,XP partitions are mounted in Read/write mode,whereas Fedora partition is mounted only in Read mode.What changes should i need to make in /etc/fstab to enable Read/Write access to Fedora partition as well?
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:
Code: Summary: SELinux prevented httpd reading and writing access to http files.
Detailed Description: SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.
Allowing Access: Changing the "httpd_unified" boolean to true will allow this access: "setsebool -P httpd_unified=1"
Fix Command: setsebool -P httpd_unified=1
I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it: Code: NameVirtualHost 192.168.1.2:80 <VirtualHost 192.168.1.2:80> ServerName localhost DocumentRoot /var/www/html DirectoryIndex index.html index.html index.shtml index.php </VirtualHost>
Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.
I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.
So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.
However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...
I have successfully set up a multi-seat configuration using 2 nvidia cards with 2 instances of X running at the same time. Thing is now, I can't access my external hard drive or any usb thumb drives I plug in. Normally when they would just open up after I plug them it, I get an error saying "unable to mount, Not Authorized". How I can regain access to this? I am using Linux Mint 10
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials. When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.
I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".
How can I overcome this problem? - Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?- Should I do any extra configuration before the mounting etc? I would really appreciate any kind of help I could get.
Some background info
b) After OS boot, when I do a: # cat /proc/mdstat, I get: Personalities : [raid1] md0 : active (auto-read-only) raid1 sda1 sdb1 4200896 blocks unused devices: <none>
I'm using Arch right now and i'm having problems syncing my ipod with Amarok (KDE). Everytime I would want to sync a song, it would give me access denied. it is currently mounted at /tmp/ipodbxQtrU and i have tried using chmod with no luck. I was in root when i used "chmod -R user ipodbxQtrU" and it said operation not permitted.
I have had no problem installing Fedora OS on any of my Dell servers prior to this post. Anyway, I wouldn't call this a problem but recently, we bought another DELL server with Quad Core, 4GB, etc... AND this model has 2 swappable SAS Harddrives.
I wouldn't call myself an expert but then again I am not a newbie too. However, I have never setup any RAID before and now I am forced to setup RAID1 on this server. So, in a way, I am a newbie in setting up RAID
Would someone please point me in the right direction as I have no idea what I am supposed to do to setup the RAID. FYI, I will be installing Fedora 10 64bit on this server. I would appreciate if you can start from the very beginning, ie. partitioning, formatting the harddrives during OS installation, etc..
I recently installed Ubuntu 10.04 using Wubi on an ACER Aspire 5000 XP laptop. Everything runs ok and I can access my Windows folders from Ubuntu through the host directory but only as Read Only. I have checked to make sure that the Windows folder I want to access (My Documents) is not designated as Read Only in Windows.
I'm attempting to install F13 on a server that has a 2-disk RAID setup in the BIOS. When I get to the screen where I select what drive to install on, there are no drives listed. The hard drives were completely formatted before starting the 13 installation. Do I need to put something on them before Fedora will install?
I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?
I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse. I've read in several places that Code: chmod 755 /var/www will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?
I had to reinstall Ubuntu (Natty) on a brand new computer and while installing I setup the datas partition to be mounted in /usr but now I can't have access to files I put in there even if I setup the group/user permission! I can accezz /usr/Music but all files are locked
I am fairly new to ubuntu server, I want to setup a tftp server to mount a new kernel in a DaVinci platform. I was following the guide in this page [URL]..docs/linux_tftp, but accidentally I remove the xinetd.conf file. So I think that maybe removing and reinstalling xinetd the problem will be solved, but instead of that I can't completely remove xinetd and the follow message is print in the terminal
Removing xinetd ... invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found. dpkg: error processing xinetd (--remove): subprocess installed pre-removal script returned error exit status 100 invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 100 Errors were encountered while processing: xinetd E: Sub-process /usr/bin/dpkg returned an error code (1)
with that problem I can't start the service or stop it, I am blocked in the configuration of tftp server.
I have installed Ubuntu 11.04 64 bit desktop version on ext4 partition without swap. I have maximus iv extreme motherboard with 8 Gbytes RAM. Using 3 internal ntfs formatted hard drives and 3 external ntfs usb 2.0 hard drives.When I am trying to copy or move files FROM or TO any ntfs partiton it is 90 percent chance it is going to freeze.For copy/moving files I am using krusader run as ROOT or as user without root privilege or Nautilus as user without root privilege. It wasn't possible to switch to another terminal - it simply does not react on keyboard or mouse input and only hard reset is possible (scares me because of ntfs disks)From this point of view I have suspicious on ntfs driver but:I am completely beginner in linux and I am looking for help to navigate me how to investigate to find what is causing the problem eventually to solve it?
According to my experience it seems to does not matter if hard disk is internal or external connected through SATA II or SATA III or USB 2.0. I have tried to manipulate with ntfspartitions through the vmware or virualbox or truecrypt software or just do a simplecopy/move files - it have has always the same results - freeze. There is not possible to say how long it is going to work properly and when it is going to freeze - sometimes it's working hour, sometimes it's working couple of seconds - no matter if it is read or write operation/s within ntfs partition.
I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.
I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.
1. is it possible to block outgoing ports on Ubuntu? 2. is that the best method? 3. is there anything else I should be aware of to prevent subversion?
lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?
I have installed Ubuntu Server 10.04 on a newish computer. 1 internal HD for OS, 2 internal HD for Backup purposes. I am not sure what to format the "BackUp" drives as, use partitioning, use Raid etc.?). I am also attaching a Sans-Digital TR8M-B, 8 bay eSata Enclosure with 4 2TB HD's (again, not sure what format or raid to use). My initial thoughts for their respective usages are to backup desktops/server(s) to the "Back Up" disk and use the external Enclosure for various file sharing/streaming requirements.One of the last pieces that I'm trying to put together in my install and make sense of is the right backup and file sharing solution. I have 3 kids with laptops, my wife has a laptop and there 3-5 other desktop/devices that will require backing up. All OS's are either Win7 or Ubuntu Desktop/Server in various forms.
In a perfect world, I'd love to have an application or launcher installed on the Win7 machines for my kids and wife that will give them point in time/automatic/scheduled back up's and easy access to the shares. I've read about these types of solutions, but have gone cross eyed trying to find the right combination of tools for my environment. As an Fyi.I am the only one currently using Linux and can probably cover off all my needs manually if need be.
This is my first entry into the personal server environment. It probably goes without saying that the majority of our data usage will be for various types of digital media storage. I'm really trying to make this as simple, automated, painless and stable as possible.
I have built a couple RAID's, but I'm uncertain of how I should format the partitions of the raid. Should I format partitions on each disk, and then add them to a raid, or should I create a raid on unformated disks and then format the raid as a partition? Does it matter, and are there performance/reliability issues? I'm creating a RAID-5 using 3 SATA disks on RHEL for user data area.
Currently I am working on one project in which I am transferring existing setup to Open Source platform. I am having brand new IBM server with two NIC card and want to setup Firewall. I am searching for good solution which suits to me. Which firewall system I should go for? I am thinking of IPCop.
1) Firewall should support OpenVPN 2) Easy to manage for Resident technician 3) Should be block streaming, facebook and others sites.
I have created a software raid 5 array which is currently sitting idle all space is unallocated. My plan was to use all 4.5 TB as a single partition for multimedia files. My problem is that I am trying to set up a file server acessible to windows systems al well as linux. Is there a file system I can use to partition this space that will geve me what I want?
I wasn't sure where to post this question so administrators, feel free to move it.I have a media server I set up running Ubuntu 10.4 Server, and I set up a software raid 5 using 5 Western Digital Caviar Green 2TB 7200RPM 64MB drives. Individually they benchmark (using the Ubuntu's mdadm GUI (pali?somthing...) at about 100-120mb/s read write.I set the raid 5 up with a stripe size of 256kb, and then I waited the 20 hours it took to synchronize. My read speeds in raid are up to 480mb/s, but my write max is just under 60mb/s. I knew my write performance would be quite a bit lower than my read, but I was also expecting at least single drive performance. I have seen other people online with better results in software, but have been unable to achieve the results they have gotten.
My bonnie++ results are more or less identical (I used mkfs.ext4 and set the stride and stripe-width).The PC has 2048mb of RAM and a 2.93Ghz Dual Core Pentium (Core 2 Architecture), so I doubt think that's the bottle neck. These drives are on the P55 (P45*) South Bridge SATA controller.
I have recently migrated my file server over to a HP Microserver. The server has two 1TB disks, in a software RAID-1 array, using MDADM. When I migrated simply moved the mirrored disks over, from the old server Ubuntu 9.10 (server) to the new one 10.04.1 (server).I Have recently noticed that write speed to the RAID array is *VERY* slow. In the order of 1-2MB/s order of magnitude (more info below). Now obviously this is not optimal performance to say the least. I have checked a few things, CPU utilisation is not abnormal (<5%) nor is memory / swap. When I took a disk out and rebuilt the array, with only one disk (tried both) performance was as to be expected (write speed >~70MB/s) The read speed seems to be unaffected however!
I'm tempted to think that there is something funny going on with the storage subsystem, as copying from the single disk to the array is slower than creating a file from /dev/zero to the array using DD..Either way I can't try the array in another computer right now, so I though I was ask to see if people have seen anything like this!At the moment I'm not sure if it is something strange to do with having simply chucked the mirrored array into the new server, perhaps a different version of MDADM? I'm wondering if it's worth backing up and starting from scratch! Anyhow this has really got me scratching my head, and its a bit of a pain! Any help here would be awesome, e-cookies at the ready! Cheers
Whenever I am in firefox and have pictures open in the browser and move the mouse to the other 19" monitor it crashes, not everytime but often enough to be annoying. Sometimes when it crashes the screen goes blank and I wind up at the login screen, other times it just goes blank and stays blank.
I have an HP GL380 with an MSA20 connected for storage space, we use it as an nas unit. The system is SLES 10. We use both NFS and SMB for file sharing, no special users and so. We are 8-10 users of the machine. We store both large and small files such at thumbnails and disk images.
Now, my problem. I�d like to give more priority for reading files on the server, so a user can look at pictures without problem, and if another user is writing an image file of an disk (10-1000 GB) this writing process should get less priority. The most important is always reading files, to get the job done.
I am currently booting 4 flavors of Linux - Ubuntu 10.04, Xubuntu 10.04, Linux Mint 9 KDE RC and Linux Mint 9 Gnome. There is so little difference between Ubuntu Gnome with the right packages installed and Linux Mint 9 it is redundant and I would like to replace it with Fedora 13 and try that out for a while. I understand that Fedora still uses a legacy Grub while the others are all using Grub2. I also understand that the two bootloaders do not get along. Is there a way to do that? How? If I have Fedora install its legacy Grub to the Fedora partition will Grub2 see Fedora and update itself properly? I'm open to starting clean if that would simplify things.