inappropriate ioctl for device
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2012
    Location
    madurai,india
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    inappropriate ioctl for device

    i just installed fedora 16 in my laptop.........sharing with windows 7 ultimatum . inorder to increase my linux space i had shrinked my e: drive in windows creating a free unallcated space 25 gb..when i try format this 25 gb of space using fdisk command its giving an error "Inappropriate ioctl for device"....i need to add this space to fedora without reinstalling it.

    MY operations are as follows:
    ..........................................
    [root@urban-ninja urban-ninja]# fdisk -l

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xef7d31bf

    Device Boot Start End Blocks Id System
    /dev/sda1 2048 204802047 102400000 7 HPFS/NTFS/exFAT
    /dev/sda2 204802048 389122047 92160000 7 HPFS/NTFS/exFAT
    /dev/sda3 389122048 522242047 66560000 7 HPFS/NTFS/exFAT
    /dev/sda4 573442048 625142447 25850200 5 Extended
    /dev/sda5 * 573444096 574468095 512000 83 Linux
    /dev/sda6 574470144 625141759 25335808 8e Linux LVM

    Disk /dev/mapper/vg_urbanninja-lv_swap: 5234 MB, 5234491392 bytes
    255 heads, 63 sectors/track, 636 cylinders, total 10223616 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/vg_urbanninja-lv_swap doesn't contain a valid partition table

    Disk /dev/mapper/vg_urbanninja-lv_root: 20.7 GB, 20703084544 bytes
    255 heads, 63 sectors/track, 2517 cylinders, total 40435712 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/vg_urbanninja-lv_root doesn't contain a valid partition table
    [root@urban-ninja urban-ninja]# fdisk /dev/sda4
    fdisk: unable to read /dev/sda4: Inappropriate ioctl for device
    ...................

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,794
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: inappropriate ioctl for device

    Since the is a reply to your identical question here I'm closing this thread. Please take a minute to read the Posting Rules.
    Glenn
    The Bassinator

Similar Threads

  1. modifing ioctl TIOCMWAIT?
    By MrUmunhum in forum Using Fedora
    Replies: 1
    Last Post: 5th July 2011, 02:41 PM
  2. Replies: 3
    Last Post: 15th October 2009, 09:12 PM
  3. How to improve ioctl()?
    By joekrahn in forum Programming & Packaging
    Replies: 0
    Last Post: 30th April 2008, 05:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •