CentOS 5 :: Can't See The Swap As A Separate Partition Although There Is A 16GB Tempfs Mounted As /dev/shm
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
ADVERTISEMENT
May 5, 2010
Saw a reference to putting the swap partition on a separate drive--just minutes after I was considering that approach. Can't find anything recent on the topic, so asking: Is there an advantage to having /swap on a separate HD from data on /home? My thought was that both disks could be active at once, perhaps speeding up a busy application.
View 1 Replies
View Related
May 18, 2011
ASUS eeepc900 Easy Peasy 1.6 (Ubuntu 10.04)
After I boot the 16GB second SSD disk is mounted as HOME on /media This seems to be a default. However there is no entry in /etc/fstab to do this. How does it happen?
I want to move my home directories to be on the 16GB disk so I need it to be mounted on /home rather than where it is by default which is /media/HOME
View 3 Replies
View Related
Feb 27, 2010
I've been trying to partition my USB pen drive but for some reason it won't make a partition any bigger than 1 gig. The reason I formatted it was for compatibility with a friends Windows computer that wouldn't recognise it while it was NTFS (so I tried FAT16, but it still wouldn't recognise it for some strange reason.)
Anyway, after partitioning it to FAT, I partitioned it back to NTFS and shortly after tried to put Ubuntu onto it using unetbootin. During the writing process, Ubuntu locked up and I had to hard reset. (even the reisub trick did nothing) After restarting, I noticed the pen drive was showing as only 1gb big.
I don't really know if the crash caused it, because it might have been 1gb after I had reformatted to NTFS (I just didn't check).
I've since reformatted and repartitioned it using ext3/4, ntfs, FAT and it's the same every time. Also, I've tried to use unetbootin again on the 1gig partition, and it will work, but if I try to boot up off it on my netbook, it says "Missing operating system" and then boots off the hard drive.
Lastly, when I do format it, there doesn't seem to be any kind of permissions on the pen drive until I run chown on it. Then I can write to it normally.
This is a really strange problem.. I'm almost inclined to think the pen drive might just be broken and I'll need to take it back to the shop. (Withdrawing any information about the whole repartitioning it..)
I'm using gparted on 9.10 if it's relevant.
View 9 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
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
View Related
Nov 4, 2009
I've been working at creating a highly available set of host servers for a linux diskless boot cluster.Each host machine is fitted with redundant power supplies and two 1TB drives in a Raid-1 configuration.When I first started this project they each had twin 160GB drives. In my original setup I had both nodes acting as primary systems so that I could mount /dev/drbd0 to my /data directory and see changes immediately.It had worked in the past where I could make a file in /data on the first machine and it would show up in the /data directory on the second machine. One day this had stopped working where if I made a file on the first machine it would display on the second one until I unmounted /data and remounted it to the /dev/drbd0 disk.
This is when I bought the new disks and decided to start from scratch. The weird thing is that if I make a file on the primary and remount on the secondary to see it and then delete it from the secondary and THEN delete it on the primary, the primary throws no error however it goes into read-only mode because it knows that file was already gone.Below is my configuration file, sda8 is an 820GB partition which is used for all of the data I want to replicate, currently populated with ~10GB of data. Sda7 is my metadisk partition which is 500MB large clearly more than needed by drbd.Also you will notice "incon-degr-cmd "halt -f";" is commented out. This is because when I go to actually use it drbd throws an error when reloading the configuration and I'm not sure why that is either
resource r0 {
protocol C;
#incon-degr-cmd "halt -f";
[code]....
View 3 Replies
View Related
Aug 8, 2011
hen i try to mount Cruzer Blade 16GB on Ubuntu Im told that "Unable to mount 16GB file system Not authorized.@
View 15 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Sep 9, 2010
On my triple-boot PC:
Code:
SuLinux:~ # fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
Will the above procedure accomplish this objective, without crippling openSUSE ? The second swap partition has never shown any activity (on SUSE). I understand (from Using shared swap files) that a single swap partition may be shared. Since these areas are relatively small, It is not inconvenient to maintain separate swap partitions.
View 9 Replies
View Related
Dec 16, 2009
I am still puzzled by IT guru who still install a server version of Linux using the default partition system. I am curious about what the IT guys in this forum think about this, even when the server is part of a cluster.
View 1 Replies
View Related
Sep 9, 2010
My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.
View 11 Replies
View Related
Dec 15, 2010
My debian 5 is up and running smoothly and act as file-server in the middle of windows network jungle using samba the only problem is, after backup an external hdd (213 GB) to my /home partition, I end up with message say that I'm running out free space. Fyi my debian installed on 1TB SATA disk, and I separate my /home partition from system what happen to my free space ? here is screenshot of my disk, using disk usage analyzer: is there is a way to get my space back or something missing on my setup.or I have to reinstall my debian and use LVM when partitioning my disk?
View 8 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
Aug 17, 2010
using suse 11.3 and kde 4.4.4 on the mounted fat32 partition I cannot change icons partition is mounted in fstab in this way:/dev/sda8/ /dati vfat user, users, gid=users, umask=0002, utf8=true, 0, 0.I can create files folders modify, move and save them on the partition but if I try to change the icon (in dolphin right click>properties>click on icon) of the /eros folder (or any other folder or link) system gives me
this error:impossibile salvare le proprieta' , non hai accesso sufficiente per scrivere su /dati/eros/.directory tha in english is something like this: impossoble save properties, you havent enough permission access to write on /dati/eros/.directory this happen also as superuser I remember that with suse 11.0 or 10.3 I was able to change icons on fat32 partitions, now with 11.3 I cannot, there ought to be a way to do what I did with the previous version with this 11.3 brand new ad more advanced version shouldn't it?
View 11 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
Feb 5, 2010
Is there a program that will reread the partition table and update the kernel even if one of the unmodified partitions is mounted? I installed my system on one partition, then I added another with free space. Now I want to format the second partition, but the kernel doesn't know about it yet. I tried sfdisk -R /dev/sda, but it refuses while the root partition is mounted. Is there anyway I can avoid rebooting?
View 2 Replies
View Related
Mar 23, 2010
I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :
- first drive is the system
- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go
- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go
View 2 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
Feb 7, 2010
I was surprised not to find an existing thread on this anywhere, as I would expect this to be a common problem: I have the following partitions on my eee PC 100HE:
10GB Windows XP
5GB Linux Mint 8
5GB Ubuntu 9.10 NBR (awesome distro by the way!)
130GB Home partition shared by Linux Mint and Ubuntu NBR
2GB Swap partition shared by Linux Mint and Ubuntu NBR
I installed Ubuntu NBR after Mint. Immediately after install, the panel layout, menus and colour scheme were slightly messed up - presumeably because they had been "adopted" from the Mint settings in the home folder. I corrected them easily, but now I have the same problem in Mint. Is there any way I can get both distros to use the same /home folder, but different settings (i.e. the /home/username/. folders)? Can I get these settings folders put on a different partition for example?
And is this problem due only to the fact that these are 2 Ubuntu-based distros? Or will I have the same problem if/when I replace Mint with another distro, such as Fedora or Moblin?
View 6 Replies
View Related
Feb 25, 2011
my rc.sysinit script has:
if [ "$FACTORY_RESET" = "1" ]; then
echo 'Reseting to factory config'
mount -o sync,remount,rw /boot
[ -r /boot/default.cf.2 ] && mv /boot/default.cf.2 /boot/default.cf.3
[ -r /boot/default.cf.1 ] && mv /boot/default.cf.1 /boot/default.cf.2
[ -r /boot/default.cf.0 ] && mv /boot/default.cf.0 /boot/default.cf.1
[ -r /boot/default.cf ] && mv /boot/default.cf /boot/default.cf.0
mount -o sync,remount,ro /boot fi
And I need to change last one to rw or comment it out until I write some other part of the installation, otherwise the whole system is ro and I can't alter or install anything. I guess that when my system boots put everything into rw, create the system and then move everythiong into ro, so I am locked out. If I remove the SD card and put into another system, how can I access the script and change it?
View 3 Replies
View Related
Feb 3, 2011
I was running out of space so I added an extra harddisc (sdc) and shuffled a few mount points in /etc/fstab so it was set up how I wanted.In the process I noticed swap was listed twice, once as /dev/sda3 and once by UUID. While reconfiguring /etc/fstab I tried to use UUIDs so it didn't matter where the disc was physically attached so I removed the non-UUID entry and updated it to the correct UUID (for some reason it was wrong).Now though, when I start up swap is off and I have to turn it on by the swapon command (which accepts the UUID for the swap partition. Here is my /etc/fstab and the output of blkid
Code:
simon@simon-desktop:bf4390bb-39a4-43ac-ae53-d90e33062a19$ cat /etc/fstab
# /etc/fstab: static file system information.
[code]....
View 3 Replies
View Related
Apr 24, 2010
I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine.Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS into the mixtoo.I just found out that master boot records are limited to 4 entries, meaning 4 primary partitions. I had Windows XP set up on my old drive as a boot partition, a program files partition and a media partition. Since I really didn't want to install XP from scratch, I cloned this setup on my new drive.
This leaves me one MBR partition entry for installing Windows 7, Ubuntu and ReactOS. I'd like to avoid having to install XP from scratch like the plague, partly because it's supposed to be a safety net in case things go wrong with my other OS's and because I've invested a lot of time getting it set up exactly the way I like it.Here are the options I've considered and why I don't like them:Install Windows 7 on my media partition. This would work, but I prefer to keep my media partition completely separate from any OS, so that I can reformat an OS partition without affecting my media partition at all.
Use wubi or something to install Ubuntu in the same partition as something else. Again, this is brittle.Move all my media to a logical drive on an extended partition. Create another logical drive on this extended partition for Ubuntu. The problem here is that extended partitions are rather brittle--if you nuke one, it renders the rest useless.Just put the old drive back in my computer and run XP off it. Use the new one for the other OS's. The problem here is that the old drive is slower and uses extra power, generates extra heat, etc.
View 2 Replies
View Related
Oct 15, 2009
In trying to get rid of GPT I somehow hosed my flash drive - now when plugged in and I run df - I see tempfs /dev/shm - is there anyway I can somehow repartition, reformat my flash drive ?
View 1 Replies
View Related
Feb 14, 2010
I keep my /home on a separate partition. After every clean install of Ubuntu my old panel configuration is loaded. Meaning, shortcuts on my panel and different applets I've put on my panels as well.
what file in the /home folder is keeping these settings? Simply, I'd like to delete so I can have that "fresh" install feeling on my desktop.
View 7 Replies
View Related
Nov 25, 2010
is their a boot partiton that need to be kept seperate in ubuntu? Screenshot.png those are my partitons in the pic above am i okay to merge them all into the dev/sda2 or is it like windows and i need to keep a small section back for the boot?
View 5 Replies
View Related
Apr 29, 2011
I have installed various distros/releases of linux over the past few days and have read of a few people keeping separate partitions for their /home folders. I have a few questions:
1) I assume /home is installed with the OS and would always be on the OS partition.
2) Can I repartition the drive even though I am already installed to allocate space or would I have to start from scratch, create the partitions, and reinstall the OS?
3) How much space would one need for a home folder? Majority of hdd right?
View 4 Replies
View Related