CentOS 5 :: How To Format Unused Space On /dev/sda
Dec 3, 2009
I have a CentOS 5.3 x86_64 system setup as a file server, backup server, and iSCSI target. The physical machine has six hard drives, two of which (bay0 and bay1) are 1TB disks in a RAID1 mirror. Therefore, CentOS is installed on /dev/sda. My question is this: how can I format and mount the large portion of sda that's not in use right now? Here's some more info:
Disk /dev/sda: 999.6 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
As you can see I've got about 1TB of space on sda. However, when I look at my df -h command and my LVM management what I find is that I've got:
root / filesystem = 8GB and is under Vol00
swap = 2GB and is under Vol01
/var = 2GB and is under Vol02
Sounds like I have a ton of space on sda that I'm not using. It also looks like I'm using LVM, but I'm not familiar with LVM nor am I really comfortable with how I can use the rest of the 900+GB I have available on sda. how I can format and mount the rest of the free space on sda?
For a while now, I have been using an older version of gparted (0.4.5) from an older bootable Linux disk to format my hard drives. The version included with Suse 11.4 (0.8.0) has given me a puzzle. I tend to create a number of partitions (3 primary, an extended, and a number of logical) on my disks. For some reason, version 0.8.0 seems to requires 1 mb of space between each partition, and 2-3mb of space at the end of the drive. With the older gparted, I could create partitions with no unused disk allocation. Is there some reason for this new behavior? Is there some way to format a drive with the newer gparted without unused space? I realize that 10-15mb of disk is fairly small, but I have this dislike of wasted space. The drives being formatted are SATA drives in the range of 250gb -750gb.
I just installed Fedora 12 in a laptop with a big hard drive and used LVM for it. The thing is that I used just a fraction of the LVM total size to create the "/" partition and decided to leave the task of creating the other partition (the data partition) with the rest of the LVM space after F12 got installed. Unfortunately I found that Gparted is apparently unable to perform that task of creating a new partition in unallocated LVM space. Is there any way I can create a new partititon in that unused LVM space?
I seem to have a strange problem with disk usage on my linux partition. I just upgraded my 10.04 to 10.10 and I'm not sure if this was there before.My nautilus tells me that I have 1.4 GB free on my linux partition. My partition editor (GParted) tells me that 79.31 GB of my 81.38 GB is used, and I've 2.08 GB free. There's no way I've got that much stuff on my linux partition, and to confirm it, I ran the Disk Usage AnalyzerApplications/Accessories), and the total size of everything on that partition amounts to much less than 10 GB.
I've tried deleting all my trash (both root and user trash) and I looked at all the folders trying to find any suspiciously large ones to no avail. I thought it might be some weird bug, but removing some files, added the correct amount of space to the free space detected by nautilus. I have no idea what eating up my disk space.
I'm trying to Dual-boot Windows and Ubuntu. I have Ubuntu now. I'm trying to remove space from the Ubuntu partition(Active) but, it won't allow me to remove space from active partitions. I have 11GB Free according to GParted, yet during the installation it displays only 8MB Free. Oh, and I'm trying to install Windows XP through VirtualBox. Is that possible through the install CD? I've been searching and haven't seen anything about it.
My current pc running on LINUX raid 1 with both 80bg hdd, the /dev/md0 is growing. Either a) I need to create another mount point to utilise the space.How i do this ? OR b) Clone the existing 80gb with 250gb, so /dev/mdo got more space?
# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 20161084 15577508 3559440 82% /
I am using LVM2 and have shrinked my /home partition and extended my / partition but I'm not sure if I used all the free space when growing my / partition. How can I find out? I prefer using the terminal if there is a graphical way to do this but I would like to know both ways if there are two ways.
I am attempting to install the 64-bit version of Ubuntu 10.10 on my computer.I'm intending to dual boot Win7 and Ubuntu with one hard drive that came factory partitioned into two drives. Win7 was installed first.Ok, onto the issue. The Install is going well until I get to the Allocate Drive Space form (so almost right off the bat). I first created a swap partition within my "second drive" (really just a partition of the larger drive). This stalled out and I had to exit setup and restart the computer. Booted into Win7 to be safe and Win only recognizes the First Drive and no longer the second drive. So, I boot up the Ubuntu Install CD and get back to the allocate drive space form I see I have a (linux-swap) drive with the same gb space as before.
So, from here I create a partition within the "second drive" 20gb of ext4 type space. This does not stall out and creates a partition of 20 gb. But, now it says I have 175 gb of "Unusable" space. This is very unsettling and using the "revert" button does nothing.How do I fix this space so I can finish the install?[URL]
I am running 10.04 Lucid on a Toshiba Satellite A105. The onboard video is an Intel Graphics Media Accelerator 950. The issue is that when I connect it to my Panasonic widescreen TV (laptop is widescreen as well) the display is shrunk and has a lot of unused space on the sides/top/bottom. So like, if I wanna watch something from Hulu, I plug in the S-Video, and I can watch on the TV, but it's not using all the screen available... I have not found a way to resize the output so it fills the screen.
find out the available and consumed Hard Disc memory through c/c++ program .I am using Dabian linux 2.6 I am able to get the physical memory size information by reading /proc fileI need to get information of HDD memory throug c/c
I have logical partitions on my drive numbered /dev/sda5 through /dev/sda14.I want to reclaim unused space from one of the partitions in the middle /dev/sda7. First I intend to resize /dev/sda7 by leaving the beginning of the partition as is and shrinking the end to create some unallocated space between /dev/sda7 and /dev/sda8. Then I would like to create a new logical partition in this unallocated space. My question is what will be the device name of the newly created logical partition? Will it be /dev/sda15 (I hope)? Or will it be /dev/sda8 and all partitions after this be renamed?
The GParted manual states that if a partition is deleted, all of the following partitions will be renamed, but it doesn't say anything specifically about renaming partitions after adding a new partition in the middle of a partition table.
Running # lsmod | grep -e " 0 " | wc on one of my servers running CentOS 5.5 (64 bits) reports me 32 unused modules, I mean, modules with 0 references. Am I wrong interpreting these results? If I'm not, how can I automatically clean those unused modules (i.e not manually running modprobe -r ). Some years ago there used to be a daemon called kerneld who was in charge of that task, right? What's CentOS new equivalent?
I use Ubuntu 10.04 and i have a HD 640GB. The story is like this. I run ubuntu with a usb I install them and when it asked me if I want to install ubuntu aside with windows I selected no. So I selected the option that you erase all your data and you put just the ubuntu. When my computer was running normaly I saw the properties of my hard drive and i saw that my free space is 544.5 GB ! What exists in 100gb??? I there any chance that windows didnt erased completely? I say that because my free space in windows was around 540 GB. Should I format again?
I'm about to do a clean wipe of my laptop, to try out Ubuntu. I've read quite a bit about dual-booting WIn7 and Ubuntu, but not alot about the process of installing. I'd like to install Win7 and Ubuntu on 2 small drives, and leave the rest for a Storage partition. But when should I partition that Storage Drive? Should I do it while I'm installing Win7? Or should I partition the amount of space to Storage after I've installed Ubuntu?
I am not sure whether this is something that can be answered here, but I figured this is the best place to start (next to google not giving me the answer I was looking for). One of our clients are running HPUX as filesystem, however when the support guys need to report the filesystem space they keep getting it wrong. Even after someone gave them the full command which will do the calculations for them, they still seem to make mistakes. On linux the df -h works very weel but this is obviously not available here...can use to display the filesystem space in the correct formats? Even if there is a set of commands that we can work into a script and they can then just run the script.
I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen /mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.
I currently run a dual boot with Windows Vista and Ubuntu Lucid. I have been using Ubuntu for quite a while now, but kept around Windows "just in case." I have decided that keeping Windows is unnecessary and my Ubuntu partition is running out of space. I was wondering how I could format the Windows partition and add that space to the Ubuntu partition without having to format my entire computer.
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
I cannot format and install XP/Centos 5.3. I have a portable equipment with Linux (Centos 5), I am trying to format it everything to put Win xp and Centos 5.3; the detail is that when reinitiating the PC, the CD installer of xp start correctly with "Presses any key to initiate from CD" soon itself with "the install program it is inspecting the configuration of hardware of his equipment" until there all good.
BUT: Then it remains in black the screen and it does not do nothing else so as in some forums they suggest: I waited for almost 1 hour, I proved with several cds xp and these also I proved them in other readers giving ok, reviewed the bios, etc. and nothing, the peculiar thing is that if I place the CD install of Centos this one if it works and it installs in the portable one.
How do I reinstall cent OS 5.2 without formatting the partitions? for example: I've create several partitions (create custom layout) and OS is installed completed. But I have some application need to reinstall at "clean" OS. If I delete and create same partitions again it take long time to format the partitions. How do I just reinstall OS without formatting those partitions?
I already have sendmail dovecot and roundcube webmail in my linux centos 5.6Problem is that i want to change mailbox format mbox to maildir because maildir is faster and stable.So i search about this and i see sendmail doesnt save in maildir format.Is there any way to change sendmail save format mbox to maildir.Or do u have any idea for it.
I have download the JRE for java 1.7 in tar.gz format and extracted it. Now im left with a java folder that i have no idea what to do with. My goal is to install this JRE onto my server.
I have installed win xp(sda1) win 2003(sda2), centos 5 (sda7) and mint 5(sda5) on 4 partitions and swap (sda6).All OS work fine except centos 5. When from the boot menu I choose Centos 5, I get the following error:File system type is ext2fs, partition type 8x83.Kernel /boot/vmlinuz 2.6.18.92.el5xem root/dev/sda7Error 13 invalid or unsupprted excecutable formatBut I 'm sur that I have format /dev/sda7 as ext3
I currently have an array with 8TB, that will eventually grow to 10TB+ with 2TB disks. How would I partition, format, then mount an array of this size, and also have room to grow, when I add new disks? I heard ext3 only supports 8tb? So would lvm be the best use here?
Over the years I've had various flavours of linux on webservers, each has handled this in it's own way - some due to the GUI that was installed etc...
What is your prefered way of holding NameBased Virtual Host records...?
Is it like the redhat system having a sites-available and a sites-active and sim linking the records of the active sites and having httpd.conf only get the info from sites-available?
I know that some people have all the Virtual Hosts records at the end of httpd.conf (or apache2.conf)
What would you do if you had to start a fresh?
I'm running CentOS 5.5 LAMP (Latest versions at 1/8/10)
I am about to purchase a new external hard drive which will be driven through the USB port. It will probably be a 1.0 TB drive from Frys/CompUSA/MicroCenter or some discount source. It will probably come formatted to run on a Windows machine and I intend this drive to be run only from my Linux laptop. I'd like to format it to be able to make the most of it from my Linux machine. Although re-formatting may not be absolutely necessary, as it probably will work "OK" just out of the box as is, how can I format it to get the maximum usage out of this new drive?
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.