Ubuntu Installation :: Why Does Ext4 Make So Large A Swap
Aug 31, 2010
Just wanted to see if any one had this experience? I just did a fresh install of the recent LTS and saw it made a whopping 8 1/2 gig swap on a new pc I have 3 gigs of ram in? Im a try to resize as I have already done my customizing to it.
I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.
I am running CentOS 5.5 with a 14T ext4 volume. We are sharing out a few sub-directories via NFS. Our customer was doing some penetration testing with our web app that writes to one of those NFS shares. We are not sure if they did something to cause the metadata to grow so large or if it is corrupt. Here is the listing:drwxrwxr-x 1 owner owner 470M Jun 24 18:15 temp.badI guess the metadata could actually be that large, however we have been unable to perform any operations on that directory to determine if the directory is just loaded with files or corrupted. We have not run an fsck on the volume because we would need to schedule downtime for out customers to do so. Has anyone come across this before
We're load testing some of our larger servers (16GB+ RAM), and when memory starts to run low they are kicking off the oomkiller instead of swapping. I've checked swapon -s (which says we're using 0 bytes out of 16GB of swap), I've checked swappiness (60), I've tried upping the swap to 32GB, all to no avail. If we pull some RAM, and configure the box with 8GB of physical ram and 16 (or more) GB of swap, sure enough it dips into it and is more stable than a 16GB box with 16 or 32GB of swap.
Since Mac OS X, runs a BSD Linux at the core I think that this is the correct place to ask about this, but I need cfdisk to make some ext2 and swap partitions on some Compact Flash and old HDs without needing to download any LiveCD. There is any cfdisk that I can use on my Mac?
I have nearly 200GB of space free on the HD with my linux main EXT4 partition, and I'm wondering if I can convert a large part of this to a new NTFS partition that I can use for my windows XP paralell install?
Basically, what do I have to do to resize and create the new partition and how do I get windows to recognize it?
I have one computer with windows and one with ubuntu. I have an external drive (FAT32) with files taken from an NTFS (mp3s and such) and I would like to put them and use them on an ext4 ubuntu platform. Can I make a partition of the /home folder NTFS and the system ext4 and function properly? I do have configuration files in the /home folder since Im building a domain controller that utilizes samba on ubuntu: would I be better off using a dual boot with windows/ubuntu and placing the files on the Windows partition? what is my best option?>
during my fedora 12 installation, i made a swap partition by the wrong denotion "/swap".so when i had used the command "df -h",it showed the /swap entry in the list.so i deleted that particular partition using the "parted" utility. Now my doubt is, 1.where is that partition?(whether it has joined with other partition or still alive) 2.if it alives,is it possible to make it as a swap partition?
Tuesday night I wanted to make a backup of my Ubuntu ext4 partition via Clonezilla so I configured that an image had to be made and it would be saved on the NTFS external disk. But it said it needed 23 hours to create a 5gb backup, so I resetted my computer as this took too long. But after this, Ubuntu nor Windows recognized my drive.
I called Seagate and they told me after troubleshooting 30 minutes, that there is no option of fixing the drive and I had to send it to RMA. What could be wrong? Clonezilla works via a bootable ISO on Debian. The disk drive is still spinning. I already rebooted the external drive, but it's not working. In Linux the disk is no longer mounted and cannot be mounted:
Code: brw-rw---- 1 root disk 8, 16 2010-03-12 00:50 /dev/sdb brw-rw---- 1 root disk 8, 32 2010-03-12 00:50 /dev/sdc brw-rw---- 1 root disk 8, 48 2010-03-12 00:50 /dev/sdd brw-rw---- 1 root disk 8, 64 2010-03-12 00:50 /dev/sde
What could have happened? Would the data still be accessible on the internal drive? Did I just loose 1.5TB data that was stored on the external disk?
I just installed Lubuntu 10.04 on old PC (CPU: 700 Mhz, RAM: 640 MB). My swap partition is only 474 MB. I was told it should be twice my RAM, if that's true then I'm really low on swap space. Can I expand my swap space? I also have Fedora 13 installed, it has a 1.3 GB swap partition, can I have Lubuntu use this partition?
I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs tune2fs -O extents,uninit_bg,dir_index /dev/md2 nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
how big and widespaced the fonts on Clementine playlist are and how good they look on the appmenu (where my mouse pointer is). This is not because Clementine is QT4, I've got the same problem with Chrome, Opera etc. I've been messing with system-settings (KDE settings tool) a day before the fonts become that widespaced in order to make my KDE apps look more native on my GNOME, but I haven't touched the fonts settings there.
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
When I boot up my 10.4 laptop I find that the resolution of the login screen is too large. About 50 percent of the time, the portion of the screen where I am to type in the password is off the screen and I am forced to reboot. The other 50% of the time I "get lucky" and have the useful portion of screen space available. Once I do login the screen works fine. How do I control GDM resolution behavior?In case it matters, the laptop is Acer Travelmate 6493.
I had a problem with the install of Ubuntu 10.04 and 10.04.1 on a Dell Precision T3500. I used the 32bit live CD. I let the installer create the file systems and use the whole disc. The disc is was created as shown below. After the install button was pressed, the root file system was created and then the swap. When the installer went to mount the swap it complained there was not enough memory and failed the installation. I installed Ubuntu by manually making the swap file system smaller using gparted and assigning the / and swap to the file systems created by gparted.
Disk /dev/sda: 250.0 GB, 250000000000 bytes 255 heads, 63 sectors/track, 30394 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I need to use the drive which currently hosts an Ubuntu 9.10 server install. The Os install was the default Ubuntu partitioning. It created sda1, sda2 and sda5, Linux, Extended and Linux/Swap partitions, respectively. The start and end blocks for sda2 & 5 are the same. I am trying to figure out which method of migration would be the best. I have used ddrescue to clone hard drives and am not sure how this would work when migrating to a smaller HD (Moving from a 74GB to a 36GB). Would it be a good idea to shrink the partition with Gparted or something? The OS is only about 3-4GB.
The other way I could migrate is to use the tar backup I made. It should have everything needed as I used the notes from the Ubuntu Backup How To page. I just don't know how this works when installing to a new hard drive. Would I need to create or edit the MBR of the new hard drive? Can a tar backup capture any of the MBR info?I guess it shouldn't make much of a difference as to which method I use so I am open to suggestions as to which to try and any suggestions as to things to make sure to do.
In my corporate environment, I'm required to run a Windows machine that acquires a VNC session on a machine in the server farm. My windows machine is dual head with different resolution monitors ( 1600x1080 on left and 1920x1200 on right). If I create a VNC session that spans the monitors, then maximizing a window in the VNC session causes it to stretch across both my monitors.
Instead, I want a "maximize" event to behave like it does on my windows machine -- I only want to maximize to the display that the window is on.
How can I define what, what I'll call, "maximize regions"? Regions in the VNC graphical plane where when I click "maximize", the window only expands to the region it currently ( and mostly) resides in.
Can I do this in gnome, X, xrandr, or some other magical interface?
i recently bought a new pair of rams, after i installed them (removed the old ones) ubuntu started lagging and all my applications started normaly, after half a minute they didn't respond for 2 minutes and then back to normal again. So i decided to delete the ubuntu partition and re-install ubuntu. I begin the installation normaly but it stucks at 5% where the partitioning takes place.
I also tried gparted to create an ext3 and ext4 partitions but i had the same problem on both tries. I believe it is a ram problem, should i go and replace them, or there is a possible solution without replacing them? (Also run the memtest 86+ for 4 hours and there were no errors).
I have a dual boot system with Ubuntu Lucid and Windows 7 Ultimate 32bit on a 320 GB hard drive. During the last month, I've completely moved from Windows to Ubuntu but I have to keep Windows for a few softwares like ooVoo and Office, especially OneNote. But now 105 GB for windows and 50 GB for Ubuntu doesn't seems right, as I can't copy any more files on my Desktop in Ubuntu, because it's full. I was just wondering if it's possible to resize the NTFS partition and add like 50GB or so to the ext4 partition which is my Linux's root. The NTFS drive is on /dev/sda5 and the ext4 one is on /dev/sda7.
I am going to do network upgrade of my 8.04 to 10.04 LTS. I have a dual boot with Vista, and currently I can read Ubuntu partition from Vista using Ext2fsd. However, I read that using Ext2fsd with ext4 (default in 10.04) is problematic because of "extents".
My questions: Will the upgrade convert my current ext3 partition into an ext4 one? How can I keep the ext3 partition? The release notes for 10.04 say:
The simplest way to select a different file system such as ext3 at installation time is to add the partman/default_filesystem=ext3 boot parameter when starting the installer.