CentOS 5 :: When To Skip Swap Partition Creation
May 10, 2009
Are there any general recommendations on skipping creation of swap partition on servers? If I am sure that server will be ok with it's RAM is there any benefit in skipping swap partition creation or making it the least size possible other than saving disk space?
View 3 Replies
ADVERTISEMENT
Mar 26, 2010
When I do a "clean" install of Ubuntu 9.10, Step 5 of 7 is when you choose how to partition your hard drive. My Acer Aspire Desktop has 8GB of RAM and a single 160GB SATA hard drive. If I choose to let Ubuntu do the partitioning, only three partitions are created and one of them IS a Swap partition. However, if I choose the second option to manually create my own partition tables, there is NO Swap option listed in the drop-down list of partitions to create!! Why in the world not, considering the importance of this partition and the fact that the first option DOES automatically create it? A second related (I think) is about the Live System Rescue CD and GParted 4.9. When do you use either of these utilities? After all, GParted is included System Rescue CD.
So, if I want and choose to do a manual/advanced partitioning of my hdd, the only time I can see using either utility is after the complete installation of the Ubuntu distro. Yet, choosing to manually partition my hard drive always results in an error or warning message that I haven't created a Swap partition before proceeding to Step 6 of the installation. Well, of course not since the choice isn't even possible. Good grief, what am I supposed to do when I arrive at the step where I am supposed to choose and then create the partitions for my hdd? Choose the first option, which I don't think is wise/good at all, especially with security in mind. Or choose the second option of using a program like GParted at all? It is hard enough for me to choose a partitioning scheme at all, since opinions on how many partitions are needed and what sizes they should be.
View 2 Replies
View Related
Jan 24, 2011
Howto install CentOS 5.5 as a second OS to share the same SWAP Partition with other linux, for example Debian?
View 4 Replies
View Related
Aug 10, 2010
I recently installed Cent-Os on a server and changed the default partitioning to have 2 partitions - 1 main area for everything and a swap partition of 8Gb After installation I cant see the swap as a separate partition although there is a 16GB tempfs mounted as /dev/shm Is this right ?
fdisk -l shows :-
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
(first partition being non-lvm boot)
View 3 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
May 18, 2010
I've got a server that needs more space. To achieve this we added space (by extending the VMware disk attached to it).Normally this isn't an issue, because we just add an new partition and LVM it from there, but this host predates our deployment of LVM everywhere.
Our current theory is that the unallocated sectors can not be assigned because they aren't part of the extended partition, and thus ... we go in a circle.So what i believe the way forward is to extend sda4 so that i can then create an sda10 inside of it. Anyone have any ideas on how to do this? I was thinking gparted may do the trick ... but being a server i'm in runlevel3, with no X...
View 5 Replies
View Related
Nov 25, 2010
I am trying to perform a hard drive installation of RHEL 5.5. I specify the installation method and the partition and directory holding the ISO image in /etc/grub.conf
Code:
However, I am still presented with the "Installation Method" and "Select Partition" screens when anaconda runs. Is the syntax of the repo boot option correct?
View 1 Replies
View Related
Feb 23, 2011
I had a drive with a partition layout like so:
~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
View 9 Replies
View Related
Feb 8, 2010
I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.
I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?
View 14 Replies
View Related
Jan 17, 2015
I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:
/dev/sda (Samsung Evo 840)
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm
[code]....
The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:
mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi
After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.
When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal
Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.
I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.
View 5 Replies
View Related
Aug 4, 2011
I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies
View Related
Jun 18, 2009
I installed Fedora on IBM desktop PC with 40 GB. During installation I only created Boot and swap partitions and remain 30 GB as free space and now I want to create partitions from 30 GB free of Harddisk and I do in Windows XP and use Administration TOOL and create an other partition. so How I can create partitions on fedora after completed installation of Fedora Desktop. Need steps of post harddisk partition tool in Fedora.
View 5 Replies
View Related
Mar 30, 2011
I'm trying to repartition the 60gb hd on my macbook 1,1 so that I can triple boot os x, ubuntu, and windows. When I try to repartition it all at once with diskutil resizeVolume, I get the error: "Resizing encountered error on disk disk0s2 gunton: No space left on device (2"
Everything I've found through google indicates that this means there is not enough contiguous disk space available to resize and create those partitions. I defragmented my harddrive using the online mode with idefrag, unfortunately that didn't work. I also tried boot camp to just do the windows partition first, but it says it that it cannot move system files or something, basically the same error as above.
My thought was whether or not I could either create an os x bootable cd (no dvd-r) and fully defragment it while it's offline, but a du -chs of the necessary directories was well beyond 700mb.
My next thought is the pertinent question: is there a disk defrag tool on the ubuntu live cd? if not, if i downloaded one and placed it on a usb drive, will it mount from the live cd? or is there another way to combat this partitioning problem that i'm unaware of? (i don't have an external harddrive, so i can't timemachine/reformat/restore system).
View 3 Replies
View Related
Nov 26, 2010
I have newly created filesystem on one of my partitions. After that I am not able to paste anything into it. What is the reason?Even after mounting it also?
View 12 Replies
View Related
Apr 13, 2010
We have one squid proxy server running on CentOS 5.3 64 bit with Squid 2.6. it works well for me.
but my problem/question is :
Is it possible to skip proxy for all Internet addresses? and only allow proxy if clients are accessing external addresses?
right now users have to explicitly say in the browsers .. BYPASS PROXY SERVER for local addresses after check the use proxy server
and address has to be mentioned. most users are non technical so they don't use this option or put wrong setting in bypass proxy option
View 2 Replies
View Related
Jan 14, 2011
I'm a big fan of the NSLU2-Linux project so I've been doing some developments for this platform for the last three years. In order for the end users to test my applications, I initially created an USB image with everything bundled into it. Then, they only had to download the image and decompress (dd) it into an USB pendrive with capacity equal or greater than 4 GB. The fact is that this has brought me lots of problems in the practice since my Web server hardly accepts long file transfers.
Moreover, flash spaces beyond 4GB are wasted. As result, I'm now considering a different approach as I don't know how to do it. Well, I've thought that I could maybe create an USB disk image only with the root file system partition. Then, the first time a script runs, it creates a home partition and formats it into the rest of the space available in the pendrive. There is maybe some command-line alternative to fdisk without having the user to interact during the format process... ??
View 3 Replies
View Related
Aug 1, 2010
I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
View 2 Replies
View Related
May 21, 2011
I've recently just installed ubuntu 11.04 but seem to have made a big mistake. During the install process I was asked to specify a location to be used for swap. Not really understanding what this meant I chose another partition on my drive with some free space but also a lot of my data. Needless to say I now cant see that partition. Is there anyway for me to access it? or to at least recover the information I need from there? its about a 200gig partition, and it used to be ntfs.
View 2 Replies
View Related
Jan 16, 2010
I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.
Code:
$ mkdir /home/dariyoosh/MyDocuments
$ ln -fs /media/disk/Users/dariyoosh/Documents/MyDocuments/* ./MyDocuments
The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?
View 3 Replies
View Related
Nov 17, 2010
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
View 1 Replies
View Related
Feb 11, 2011
I have a Dell Mini 9 netbook. The SSD took a dump, so I ordered a Super Talent 16gb replacement. I put it in yesterday, tried to install 10.10 and constantly get errors. The first error, which I haven't had since, was [ERROR 30] Read-only File System. The install obviously failed. Wondering if perhaps the file got messed up in translation, I redownloaded 10.10, reformatted the flash drive (sandisk cruizer 4gb), put 10.10 back on via the program on the Ubuntu site. No luck, but no longer the [error 30]. Tried again using Unetbootin, no luck. Rinse repeat a few times, no errors just a working cursor spinning and spinning and spinning and spinning and.. you get it.
Tried to put WinXP on it just because I was that frustrated, no luck.
Now I'm back to Ubuntu (because let's face it, who wants to deal with Windows, christ they make it so complicated). I'm currently using 10.04 because I was hoping (praying) it might just be a 10.10 thing.
No such luck, now it goes to step 7/7, starts, and 5% of the way thry "creating ext4 file system" it says "the ext4 file system creation in partition #1 (0,0,0)(sda) failed." I have checked the SSD in the Disk Utility, SMART tests are clean. I have gone to terminal and run fdisk and had a smarter person than me look at the copypasta, no errors, I have deleted all existing partitions in gparted and started fresh. I have tried the auto partitioning, I have tried manual, I am going insane. Literally insane. My preschooler thinks I've leaped off the deep end.
Could it be my flash drive? Could the SSD be defective despite the tests coming back clean? What do I need to type into terminal? Is there a way to entirely entirely entirely wipe the SSD to make it fresh-out-the-box clean? I will happily provide whatever you need if it means I can get my husband off my back about this stupid netbook with its stupid tiny keyboard.
View 1 Replies
View Related
Jun 25, 2010
Looks like I missed defining a /home dir during installation. It's been a while I have a spare partition now that I'd really love to use. Can you specify this still, or is it only allowed during an install?
View 3 Replies
View Related
May 9, 2011
I have CentOS 5.5 Operating System files copied from the DVD, it's not a ISO image. My Centos dvd is not working so, I would like to make bootable image and burn it on a DVD from the files and install CentOS on other machine. I have tried creating ISO image using mkisofs command but, it is not booting.
View 6 Replies
View Related
May 14, 2010
I can't seem to get past step 6 of he installation of Ubuntu 10.04. I get the error: The ext4 file system creation failed... on single partition (no raid). I chose ' / ' as the mount point, and have tried with and without a swap drive. I'm installing on a Sony VAIO VGN-NS160D, and the HDD was previously formatted to NTFS. There's no other OS so I don't see any way of getting a command line to try a sudo fdisk..
View 1 Replies
View Related
Jan 17, 2011
How to configure Samaba Server on CentOS 5.5 and how to synchronize with my Windows Server-2003.
View 2 Replies
View Related
Sep 25, 2010
What I am trying to to is set up a cluster as follows:
- There are four nodes
- Nodes three and four have large amounts of storage that will be used for storing user data.
- Nodes one and two will be running a couple of network services.
I'd like have nodes one and two to have a clustered filesystem just between them to store data for the services run only by them.is it possible to share one filesystem between two nodes and another filesystem between two other nodes? The cluster seems to try to make the storage changes across all nodes. They will not be able to spend the extra money to get the same storage in all four nodes. Here is what I have done. I am using CentOS 5.5. After installing CentOS, I did this:
On all nodes:
Code:
[root@node1 ~]# yum groupinstall "Clustering"
[root@node1 ~]# yum groupinstall "Cluster Storage"
[root@node1 ~]# chkconfig ricci on
[code].....
...which I think makes sense because the cluster was supposed to create the PV and the volume group, but did not. I don't even think it tries. The first time it tries to do anything to another node is when I create a logical volume.
View 1 Replies
View Related
Aug 4, 2010
Is there a trick to allowing a TFTP connection to create a file? I can successfully tftfp (from a cisco router) if I touch the file first, but otherwise, (/tftpboot has been chmoded to 777) I get [TFTP: error code 2 received - 20334]
View 7 Replies
View Related
May 15, 2011
When reinstalling ubuntu 10.04, I get an error message that reads "the ext4 file system creation in partition #1 of SCSI3 (0,0,0) (sda) failled.
View 1 Replies
View Related
Jan 28, 2010
I am trying to see if I can swap out our 150+ Novell Suse Linux Enterprise Server for CentOS. From my initial thoughts I can. I am however running into an issue with the firstboot. Currently, we use firstboot on Suse with our base image. We created an image which we deploy and then firstboot runs our necessary scripts to configure the networking and office specific settings. I want to test this out but when I search for the firstboot.xml file I can't find it. I need to modify the config file and change the way the firstboot runs. Is this possible with CentOS?
I am also wondering if anyone is using Novell ZenWorks Linux Management to manage their CentOS instances or if you are using something else I would like to hear what tool you're using. I would need the ability to deploy patch/ security updates and make occasionally changes to files, not very often though.
Just a brief run down of what the server(s) will be doing. Their primary purpose is to provide caching via squid and the use of the browser for new hires until they get their notebooks. The browser runs Java and flash and the ability to print is also necessary. Pretty basic stuff so I am looking at CentOS cause the forums look very active!
View 5 Replies
View Related
Jul 27, 2009
I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?
Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?
View 4 Replies
View Related