Server :: Can't Create Partition Using Fdisk
May 6, 2011
I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)
I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?
View 9 Replies
ADVERTISEMENT
Aug 20, 2009
i have one harddisk /dev/sda it is partitioned as below:
/dev/sda1: /
/dev/sda2: swap
after the centos is installed, i want to create another partition /dev/sda3 to use all remaining disk space. i used fdisk. after fdisk, it requires reboot. The partition table has been altered! Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks.is reboot really necessary? is there any other tools which do not need to reboot?
View 1 Replies
View Related
Jul 18, 2011
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
View 2 Replies
View Related
Jul 2, 2011
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
View 10 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
Jul 17, 2010
After reading Markus Ewald blogpost on http:[url]...n-ssd-on-linux about Aligning an SSD on Linux I decided to give it a try.I have bought two 80 GB Intel X25-M SSD for my home server. The plan is to install Ubuntu 10.04 64-bit server and use the SSDs as system discs and vmware data storage using software raid for redundancy.After reading the blog post I am not sure how to make all my partitions aligned and set up on EBS (Erase Boundary Size)I am planning for four partitions:Boot, size 1GB
Root, size 25GB
Swap, size 4GB
Data storage for vmware server, size 40GB
According to Markus Ewald I should use 32 heads and 32 sectors.Using the live CD, I started using fdisk -S 32 -H 32 /dev/sda.Fdisk can create partitions using cylinders or sectors, and now I ran into trouble.
First partition /boot must start on cylinder 2 (or sector 1024). Size is 1 GB and the following partition should be aligned and start on a new EBS block. How do I do this with fdisk?Should the next partition start on a new cylinder? Otherwise, after formatting, fdisk gives a warning that the partition is not aligned to the cylinder size? The overall question is how to format four aligned partitions which all are aligned with Intels X25-M EBS. EBS for Intel X25-M is either 128KB or 512KB (Have not found a confirmed value yet)
View 1 Replies
View Related
Jul 20, 2011
I have edited my hard disk partition using gparted which created 50GB of free space. I edited my /home which is primary and hence it can not partitioned it. Now, I am trying to create and mount the free space (using fdisk) but the free space is not showing in df or fdisk. can you plz tell me how to create a partition using the free space?
my df and fdisk is as follows:
Code:
# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
[code].....
View 4 Replies
View Related
Jul 17, 2009
I have a Windows Vista machine on which I selected "utilize free space on selected drives" to install Fedora 9 temporarily. Now, however, I'd like to remove the Fedora installation. I've tried using fdisk from the Fedora 9 rescue mode on the install DVD, but I seemed to merely mess up the cylinder boundaries. When I boot from the DVD, before entering rescue mode it says that /dev/sda contains a looped partition, and asks whether I want to reformat it (completely removing everything on the drive).
How do I remove the "looped" Linux partitions? (I cannot login to Windows, so any GUI applications won't be any help.)
View 4 Replies
View Related
Jul 19, 2010
I would like to remove/create partitions on a harddrive without going into the menu of fdisk.
can one pass options to fdisk to create and delete without going into the menu? So that I can write a script to do that automatically.
Or if fdisk isn't capable, what other alternatives do I have?
View 5 Replies
View Related
Jan 28, 2011
what I did was: - have NTFS (450GB + 4GB linux-swap + 44GB ext3 with ubuntu 10.10 upgraded from ubuntu 10.4). Ntfs partition contains data only, no windows.
- either with partition magic or paragon I tried to resize the NTFS and since then parted doesn't like my partitions anymore, but Ubuntu boots and works just fine..
- I took the output from fdisk -l and decided to remove the swap partition - ubuntu won't boot saying it needs the swap (although it was never mounted and i deleted the swap while ubuntu was active)
I have the following output from fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[Code].....
**NOTE: Since the partitions are not on cylinder boundaries, using parted to recreate the partition table may not be good enough.. I don't have a backup of the partition table.
View 4 Replies
View Related
Mar 27, 2009
OS= Fedora 10
I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and one swap). I then created a new partition as primary partition #1. fdisk appears to see the entire disk....I'm able to start at cylinder 1 and end at 30401 which is 250GB, however when i mount the partition it's shows as only 50G.....What the hell is going on here???
View 4 Replies
View Related
Apr 27, 2010
had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))
View 1 Replies
View Related
Dec 9, 2010
I have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.
View 2 Replies
View Related
Oct 8, 2010
Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?
Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp
View 14 Replies
View Related
Apr 24, 2010
I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:
Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3
Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....
View 5 Replies
View Related
Aug 25, 2011
I was trying to create a centos box with xfs partition,how can we install centos enabling the partion with xfs filesystem. rather than doing after installation.
View 1 Replies
View Related
May 7, 2010
I have a 120GB HDD with a 22GB partition for Ubuntu and the rest for Windows XP. Windows finally died on me so I attempted a fresh install on its partition. However, the install threw a ton of errors so I used a LiveCD to re-install Grub and I booted into Ubuntu. I open up the disk utility to re-format the Windows partition so I can re-try re-installing Windows, but immediately I notice that the partitions are not right. If you add up all the partitions, they are about, say, 18 million terabytes over my HDD's 120GB capacity. Ahhh! What do I do?
I don't think anything is terribly altered, since I can still boot into Ubuntu, but I am completely confused and slightly worried that I might kill any chances to save my HDD I can't post a screenshot due to my post count, so the image loses some of its efficacy in making it small enough for an attachment. Here is the output of fdisk -l: Code: omitting empty partition (5)
[Code]...
View 5 Replies
View Related
Sep 3, 2010
How to create NTFS partition in linux?
View 3 Replies
View Related
Dec 28, 2009
After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:
At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.
After that first try i looked to:url
But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.
At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.
View 11 Replies
View Related
Apr 29, 2009
It seemed that it would be simple enough: take the 'f' option in the expert menu of fdisk to put partitions in order after a gap had been created by a deleted partition and then make corresponding changes in /boot/grub/grub.conf because the root partition was shifted.
Well, it didn't work out that way. No matter what I try, I either see the error 15 at Stage1.5 or the error 28, which is even stranger (file does not fit into memory). All this before I even see a grub menu. It just does not get that far.
Does anyone want to take as stab at guessing what might have happened here and whether I have a chance at recovering without having to reinstall? I can provide concrete data, if anyone would be kind to give it a try. Hoping that this is a known problem and something can be guessed from what I stated here but I can be as specific as needed, just don't want to generate noise if there are no takers.
View 3 Replies
View Related
May 7, 2010
At present, In web server 97% space has been occupied in /usr/share/squirrelmail partition. Therefore, we need to increase the partition of our existing storage device (NAS Storage box) either by creating new partion or merged the same along with the existing partition. Local Partition Map on Mail Server.File System Name Mount Point Size (1K Blocks) Remarks
/dev/cciss/c0d0p2 / 15119928
/dev/cciss/c0d0p1 /boot 98747
/dev/cciss/c0d0p7 /data 40580552
[code]...
View 2 Replies
View Related
Jan 24, 2011
I want to configure Name Server i.e., DNS to my red hat linux box in a production enviromnt.The ram is 2 GB and Hard Disk size is 200 GB. How much space should I give /var, /usr, /boot, /root and home partition. May be I am wrong in partition point of view while installing fresh red hat but to install for home purpose and server end is different. So kindly guide me the hard disk partition size to ready it for name server.
View 3 Replies
View Related
Sep 3, 2011
I need to create an extended partition with no mount point.Enclosed is my custom ks.cfg
install
cdrom
text
[code]....
View 1 Replies
View Related
Sep 18, 2009
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
View 2 Replies
View Related
Dec 18, 2010
Since I installed TinyXP on another partition on my PC, I get "omitting empty partition" when I use fdisk -l.
Code:
omitting empty partition (5)
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
NOTE: I also searched for the palimpset error and I found a Bug Report there: [URL. I don't know if these informations could help to fix this problem, I think it's related and probably cause by the installation of Windows XP and the way that gparted and palimpset read the partitions.
View 9 Replies
View Related
Oct 28, 2010
When using the gparted option to create a new partition table does this automatically create a new mbr?
View 1 Replies
View Related
Jul 27, 2011
I created a new disk on our scsi san. I then ran the following command: echo "- - -" > /sys/class/scsi_host/host1/scan. did that command for each host. and in dmesg, it shows it found a device /dev/sdg. but when i do a fdisk -l. It never lists /dev/sdg. I just did this other day on another server and it worked fine like that. This is RH 4.8.
View 7 Replies
View Related
Apr 27, 2010
I install centos 5.4 on my intel S5000vsa motherboard, and with embeded RAID1. I successfully config RAID1 in BIOS, and then I set to install centos use linux dd mode. And also successfully loaded raid drivers. In centos partition step, one disk appears. However, when centos installed and entered the system, strange result in fdisk -l.
fdisk -l
/dev/sda
...
/dev/sdb
...
Is it normal?
View 4 Replies
View Related
Aug 25, 2010
How to device-mapper multipathing in conjunction with fdisk. I am more of a solaris expert and now trying to grasp linux (red hat). I have a server that I plan to cluster (future assignment) which is attached to a Netapp SAN via emulex LPe11002 HBA. I have 8 paths to the LUN I created and I can see the multipath device (/dev/mapper/mpath1). Below is my multipath.conf file:
[Code]....
Question 1: When I look at fdisk -l, I can see all 8 paths to the same LUN. Although I partition /dev/mapper/mpath1, I can still see that 7 of the 8 still say "Disk /dev/sdX doesn't contain a valid partition table". I would think that all 8 would have this removed. I execute '/usr/sbin/lpfc/lun_scan all' and it doesn't work. I am looking to clean this up...what should I do? It seems weird to have to do it to all 8 paths!
Question 2: Why does my alias, 'db' not show up under /dev/mappers?
Question 3: Is there a way for fdisk -l to display one lun rather than displaying all 8 paths to the lun?
What is the standard procedure (commands) people execute when adding a new lun to a server with multipathing so it is nice and clean?
View 4 Replies
View Related
Jun 22, 2011
I installed Redhat Enterprise 3 on one of my servers. In my haste I didn't properly partition both Hard Drives and only properly partitioned one of them. Thus now I have
/dev/sdb1 478711768 137858256 316536328 31% /
/dev/sda1 101089 15346 80524 17% /boot
Where /dev/sda1 is actually a 80 GB hard drive. Is there anyway I can safely and easily repartition the unpartitioned space without causing a huge mess? I have a very important Oracle database on /dev/sdb1 and thus I want to be able to back it up on the second disk. I can create a partition on that drive?
View 2 Replies
View Related