Networking :: Hard Disk Partitions For Squid Server?
Jan 12, 2011
To use squid i want to install linux in my 200 GB hard disk. I need guidance regarding to installation phase.A server which will be dedicated for squid proxy what things should I keep while installing my red hat linux operating system.I mean the partition sizes for swap ,root ,boot and any partion for squid cache should I need during making partitions ?
Ubuntu 10.10 is dual booted but it is my primary OS.
Unfortunately it's on the outer edges of the disk in an extended partition.
This has always bugged me, with regards to read/write performance.
Do my concerns of reduced performance have any foundation? Should i bite the bullet and format the drive installing ubuntu first?
I ran the disk read benchmark and my read speeds were 100MB/Sec at the beginning of the test to just 55MB/Sec at the end. I have no idea if the position of the test has any bearing on the position of the disk or whether the speed recorded is affected by other factors such as the tests function or simulation.
I want to make the transition from windows (sick of it). Im using Lenovo G530 Laptop and was wondering which would be the best Linux Os (meaning Ubuntu, fedora or something else). Keep in mind that I mostly use my laptop for college work and a lot of video and audio editing. I also want to be able to run Dual operating system (meaning that I wanna run both Linux and Windows) from the same computer as it might be easier for me to make the transition a little bit more easier. That being said I need someone to give me tutorials (video preferred) on how to make the partitions on the hard disk and step by step instruction on how to install both the two OS in my laptop.
i have installed ubuntu version 9 and i cant seem to find where hard disk partitions are,what do i do?also what do i do to install the webcam and to change from gnome to Kde enviroment!!i also installed virtualbox but i seem not to find the icon
Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.
I have set up squid server. My cache directory has been set up as per following statements.cache_dir ufs /Cache1/squid 10000 16 256cache_dir ufs /Cache2/squid 10000 16 256Now the problem is that size of /Cache1 and /Cache2 has reached to about 8GB and in near future it will reach the maximum limit of 10GB. I just want to know that whether I need to delete the contents of these directories or otherwise.
I got a new hard drive yesterday, a Seagate Baracuda XT 2000GB SATA3. I'm running it on the SATA3 jmicron chip in AHCI mode, and Opensuse 11.2 is having issues with using this hard drive properly.
The hard drive seems to take a while to detect, for one thing. After it is detected however, I am told I have no hard disk that can be used for installation. The exact message is:
"No hard disks were found for the installation. Please check your hardware!"
After that, I'm told the partitioner can't read the partitions on my hard drive properly:
"The partitioning on disk /dev/sda is not readable by the partitioning tool parted, which is used to change the partition table.
You can use the partitions on disk /dev/sda as they are. You can format them and assign mount points to them, but you cannot add, edit, resize, or rename partitions from that disk with this tool."
I partitioned the new hard drive under Windows, with a partitioning tool called Partition Wizard (free / home version). I'm not sure if hard drives partitioned with this tool are not recognized by OpenSuse's partitioner, or if it's something else.
I already installed Windows on this hard drive, so I can't delete all the partitions I have so far and start all over again (I'm keeping my system a dual-boot between Windows 7 and openSuse 11.2). What can I do so OpenSuse will see and modify my partitions? If it is the partitioning not being understood, is there some sort of tool that can make the partition table of the hard disk linux-readable? (a free Windows program that could do such).
I have what seems to be a hard disk Write speed problems with my first hard drive. Timing the cp command of a 700 Meg file takes about 8 secs from disk 2 to 3 but takes 25 minutes from disk 2 to disk 1.
Here are the details: Kubuntu 9.04 (Kernel 2.6.28-15-generic) Hard Disk 1 : /dev/sda (WDC WD2500KS-00MJB0) Partitioned /dev/sda1 ext3 / 10 Gigs /dev/sda2 extended 222 Gigs /dev/sda5 linux-swap 2 Gigs /dev/sda6 ext /home 220 Gigs
Hard Disk 2 : /dev/sdb (WDC WD2500AAKS-00F0A0) Partitioned : /dev/sdb1 ntfs 16 gigs /dev/sdb2 xfs /home/eric/data_drive 216 Gigs Hard Disk 2 : /dev/sdc (ST3500320AS) Partitioned: /dev/sdc1 xfs /home/eric/data_drive2 465 Gigs
By doing 'time cp ...sdb1/test.avi ...sdc1' takes about 8 seconds and same vice-versa. the command 'time cp ...sdb1/test.avi ...sdb1/test1.avi takes about 11 seconds and the same holds true if sdc1 is used But copy sdb1 or sdc1/test.avi to either sda1 or sda6 and it takes 25 minutes. Same problem if I copy from the same drive partition (sda). I have booted a livecd Knoppix 6.2 and the same problems happens.. So safe to say it's not Kubuntu. The only thing that is left to do is backup and reformat the partitions as XFS and try again. I also did a full smartcontrol Extended test and no errors. Checked all the various logs and nothing found.
I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?
I'm trying to install Ubuntu 10.10 64-bit on my laptop HP pavilion 3046ee . When I reach the partition part , it doesn't detect the Windows 7 os , and doesn't detect any hard disk partitions ( it sees the whole hard disk as one unallocated partition ). I faced the same problem when I tried Ubuntu 10.04 LTS.
I've a faulty hard disk I'm trying to read data from before I send it to the professionals. The disk makes some "good" mechanical noise when plugged into an IDE-USB header into my machine, so I think it's spinning up OK.
Under Windows, the disk is seen in admin tools but I can't do anything to it; it's unreadable and unalterable.
Under Linux (Ubuntu), I see the sdb appear in /dev. No partitions though (no sdb0 etc). At first, I thought this implied that my MBR was bad and the partitions could not be found. But, using dd suggests it's a little worse that:
We have a server with RAID 0 with 4 hard disks on it each 250 GB. Linux kernel must find one hard disk named: /dev/sda with 1TB capacity. right? And also we have 2 partitions on sda: sda1 and sda2. We want to add another partition but we don't have enough space.
Now the problem: If we add another hard disk and run Code: fdisk -l Will the /dev/sda space incremented automatically so we can add new partitions or we must do something?
I tried to install ubuntu 10.10 today through livecd. but the partitions in my 60gb samsung harddisk are not detected. My entire harddisk is shown as unallocated free space. Also gparted is not detecting the partitions as well. I am currently not facing any problems with my partitions in windows xp. I tried the solution given here (to no avail): [URL]. I have had no such problems with previous versions of ubuntu.
I have 4 virtual disk on AX4-5i. RHEL for some reason shows 16 partitions in /proc/partitions. I got lot-lot of IO errors in dmesg. Some of those 16 partitions "work", others just give (on using fdisk for example): Unable to read /dev/sdb. On EMC I have 4 ports, so it might be somehow releated to this.
[root@db ~]# /etc/init.d/iscsi restart Logging out of session [sid: 1, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260] Logging out of session [sid: 2, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260] Logging out of session [sid: 3, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260] Logging out of session [sid: 4, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260] Logout of [sid: 1, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260]: successful Logout of [sid: 2, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260]: successful Logout of [sid: 3, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260]: successful Logout of [sid: 4, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260]: successful Stopping iSCSI daemon: iscsid dead but pid file exists [OK] Starting iSCSI daemon: [OK] [OK] Setting up iSCSI targets: Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260] Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260]: successful [OK] [root@db ~]#
I've googled and read docs but got no idea what to do. Any experiences with EMC/RHEL/iSCSI - I just don't understand where those 16 (and half of them not working/giving lotof errors) come from? For example Citrix Xen on similar network conf can see/use same EMC thoughr iSCSI nicely. SO there should'nt be network/auth issues (not using CHAP btw). I got feeling that problem is on RHEL iscsi conf side.
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
I have decided to try to run a web server, with a view to possibly, eventually, hosting my own website.To test the water I downloaded ClearOS and SME Server with a view to installing on a spare partition and trying them out.But, both installers seem to require the whole HDD to install into. Both installers have a warning saying that all partitions and drives attached to the PC will be erased in order to 'initialise' the HDD.
I must've installed 100 linux distros and i've never seen this before, including CentOS 5.5, which ClearOS is based on.Why is this the case? Is there any way I can install alongside another linux installation?? I have tried vbox but it doesn't offer a proper sandbox really as there is only one NIC.
We are having sixty machine super micro X7DWT-INF all are working fine all machine having two 250 GB Hard disks in SATA 0 & 1 connector operating system is scientific linux 5.4 all machine are showing hard disks as a sda,sdb,sdc etc but in 1 machine SATA Hard disks are showing as hda,hdb,etc due to this machine speed is low as compared to other machine bios settings are same as other how to change hda to sda.
I have a MythTV backend setup with videos also transcoded to a directory for streaming to my Roku frontend. A week ago, the backend had an issue that caused the hard disk to fill up, which borked a bunch of things up. I've since repaired the damage (and learned a lot about log size settings for logrotate.d). Anyway, my last problem is that a script I wrote to compare the files in the transcoded directory to the MythTV base directory and delete files no longer relevent doesn't work anymore. I get the following error when run by any user, including root:
Code: bash: ./roku-autoexpire.sh: /bin/bash: bad interpreter: Permission denied
The script worked fine before the hard disk fill, but now I can't seem to get it to work. Both the original MythTV partition and the streaming partition are XFS. Here's the pertinent lines from fstab:
Code: /dev/sdb1 /var/www/mythroku xfs defaults,auto,grpid,exec,user 0 0 /dev/sdc1 /mnt/mythtv xfs defaults,exec,user 0 0 Permissions for the directories are the following: Code: drwxrwxr-x 2 mythtv mythtv 16384 2010-12-13 19:21 /var/www/mythroku drwxrwxr-x 2 mythtv mythtv 20K 2010-12-13 20:13 /mnt/mythtv
I tried fiddling with the mount options for the partition, but that didn't seem to solve the problem.