- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: fdisk and unallocated sectors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 12:09 AM
тАО01-24-2011 12:09 AM
fdisk and unallocated sectors
fdisk /dev/hda
v
21292 unallocated sectors
n
No free sectors available
Why these unallocated sectors aren't available for creating a partition? Did I miss something?
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 01:20 AM
тАО01-24-2011 01:20 AM
Re: fdisk and unallocated sectors
"fdisk -l /dev/hda" command output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 01:21 AM
тАО01-24-2011 01:21 AM
Re: fdisk and unallocated sectors
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 83 Linux
/dev/sda2 1913 15286 107426655 83 Linux
/dev/sda3 28021 29295 10241437+ 83 Linux
/dev/sda4 29296 36404 57103042+ 5 Extended
/dev/sda5 29296 29932 5116671 83 Linux
/dev/sda6 29933 30569 5116671 83 Linux
/dev/sda7 30570 31206 5116671 83 Linux
/dev/sda8 31207 31843 5116671 83 Linux
/dev/sda9 31844 32251 3277228+ 82 Linux swap / Solaris
/dev/sda10 32252 32570 2562336 83 Linux
/dev/sda11 32571 32761 1534176 83 Linux
/dev/sda12 32762 32888 1020096 83 Linux
/dev/sda13 32889 33015 1020096 83 Linux
/dev/sda14 33016 36404 27222111 83 Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 01:27 AM
тАО01-24-2011 01:27 AM
Re: fdisk and unallocated sectors
/dev/sda or /dev/hda. as your question was about /dev/hda and you had sent the output of /dev/sda.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 01:43 AM
тАО01-24-2011 01:43 AM
Re: fdisk and unallocated sectors
#fdisk /dev/sda
Command: v
204585396 unallocated sectors
Command: p
/dev/sda1 * 1 1912 15358108+ 83 Linux
/dev/sda2 1913 14071 97667167+ 83 Linux
/dev/sda3 28021 29295 10241437+ 83 Linux
/dev/sda4 29296 36404 57103042+ 5 Extended
/dev/sda5 29296 29932 5116671 83 Linux
/dev/sda6 29933 30569 5116671 83 Linux
/dev/sda7 30570 31206 5116671 83 Linux
/dev/sda8 31207 31843 5116671 83 Linux
/dev/sda9 31844 32251 3277228+ 82 Linux swap / Solaris
/dev/sda10 32252 32570 2562336 83 Linux
/dev/sda11 32571 32761 1534176 83 Linux
/dev/sda12 32762 32888 1020096 83 Linux
/dev/sda13 32889 33015 1020096 83 Linux
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 01:47 AM
тАО01-24-2011 01:47 AM
Re: fdisk and unallocated sectors
Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 83 Linux
/dev/sda2 1913 14071 97667167+ 83 Linux
/dev/sda3 28021 29295 10241437+ 83 Linux
/dev/sda4 29296 36404 57103042+ 5 Extended
/dev/sda5 29296 29932 5116671 83 Linux
/dev/sda6 29933 30569 5116671 83 Linux
/dev/sda7 30570 31206 5116671 83 Linux
/dev/sda8 31207 31843 5116671 83 Linux
/dev/sda9 31844 32251 3277228+ 82 Linux swap / Solaris
/dev/sda10 32252 32570 2562336 83 Linux
/dev/sda11 32571 32761 1534176 83 Linux
/dev/sda12 32762 32888 1020096 83 Linux
/dev/sda13 32889 33015 1020096 83 Linux
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 02:09 AM
тАО01-24-2011 02:09 AM
Re: fdisk and unallocated sectors
I have got the funda:
See as i firstly delete "/dev/sda2" which was 200 GB.Now when we are creating 100G /dev/sda2 , the rest 100GB will be in the primary partition area.But the rest 100Gb i cant use as my existing OS fillup partitions upto "/dev/sda3". After "/dev/sda3" it starts logical extended partition upto "/dev/sda13".When i want to create a partition with 100GB it takes /dev/sda14 & not able to pick space from primary partition area.It will only take 25GB space from "logical extended " area.
*Solution: we have to install the OS again to use 100GB space.
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 02:10 AM
тАО01-24-2011 02:10 AM
Re: fdisk and unallocated sectors
i believe sda2 was like this
/dev/sda2 1913 28020 97667167+ 83 Linux
starts at 1913 and ends with 28020 to create a partition with size 225GB.
then you deleted sda2 and created another sda2 with 100GB to have the below
/dev/sda2 1913 14071 97667167+ 83 Linux
start cyl 1913, end 14071.
=====================================
i believe you need to start the new partition from cylinder 14072 and create your 100GB. it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 02:10 AM
тАО01-24-2011 02:10 AM
Re: fdisk and unallocated sectors
Minhaz