Re: disk partitions on that aren't recognized by mkfs + parted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At some point, I don't recall when, the coders for partprobe disabled
updating the in kernel partition table because it didn't always work
quite right and therefore just made it return without actually doing
anything to the partition table. No message was given however and many
were a bit stumped because it seemed "broken". It was however, by
design. I think it has been changed due to popular demand. The problem
wasn't in partitioning a new disk rather it was in changing a disk
that already had a partition table on it. They seemed to have taken
the easy route and simply disabled the command for any disk. It was
the default behavior for RHEL6 but I am not sure when or IF it
actually hit RHEL5. Sounds like it might have. In RHEL6 a reboot is
simply a requirement, full stop.



gparted is only a front end to parted....

-C

On Wed, May 4, 2011 at 8:55 AM, Doll, Margaret Ann
<margaret_doll@xxxxxxxxx> wrote:
> I rebooted the system and ran partprobe on all the four disks that are
> causing a problem.
>
>
>>partprobe /dev/sdi
>>mkfs -t ext3 /dev/sdi1
> mke2fs 1.39 (29-May-2006)
> /dev/sdi1 is apparently in use by the system; will not make a filesystem
> here!
>
> cat /proc/partitions has added the partition of the four disks after I did
> the partprobe on them.
>
>
>
>
> On Tue, May 3, 2011 at 5:54 PM, Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx>wrote:
>
>> Did you run "partprobe" or alternatively have you tried a reboot?
>>
>>
>> -----Original Message-----
>> From: redhat-list-bounces@xxxxxxxxxx
>> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Doll, Margaret Ann
>> Sent: Wednesday, 4 May 2011 12:58 a.m.
>> To: General Red Hat Linux discussion list
>> Subject: disk partitions on that aren't recognized by mkfs + parted
>>
>> I successfully made a logical volume out of four disks.  I am now
>> attempting
>> to do the same to another four disks on the same system.
>>
>> "fdisk -l"
>>
>> shows a similar result for each of the new four
>>
>> Disk /dev/sdk1:  2000.3 Gb, 2000398923016 bytes
>> 255 heads, 63 sectors/track, 243201 cylinders
>> Units  cylinders of 16065 * 512 = 8225280 bytes
>>
>>  Device Boot     Start     End      Blocks         Id    System
>> /dev/sdk1           1          243201  1953512001  83   Linux
>>
>> parted sees them as
>>
>> Model:  ATA WDC WD20EAD5-98R (scsi)
>> Disk /dev/sdk:  2000GB
>> Sector size (logical/physical):  512B/512B
>> partition Table:  msdos
>>
>> Number  Start   End   Size   Type    File system  Flags
>> 1             32.3kB 2000Gb  2000GB primary
>>
>> but mkfs doesn't work
>>
>> mkfs -t ext3 /dev/sdk1
>> make2fs 1.39 (29-May-2006)
>> Could not stat /dev/sdk1 --- No such file or directory
>>
>> Same results with "mke2fs -j"
>>
>> cat /proc/partitions shows for the disks that worked:
>>
>> 8   96   1953514584  sdg
>> 8   97   1953512001  sdg1
>>
>> for the disks that don't work:
>>
>> 8  112   1953514584  sdk
>>
>> parted is version  1.8.1-27.el5.  I have the system completely updated.
>> 2.6.18-238.9.1.el5xen
>> I understand that parted is sometimes a problem.   Should I download
>> gparted?
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>> ==========================================================
>> For more information on the Television New Zealand Group, visit us
>> online at tvnz.co.nz
>> ==========================================================
>> CAUTION:  This e-mail and any attachment(s) contain information that
>> is intended to be read only by the named recipient(s).  This information
>> is not to be used or stored by any other person and/or organisation.
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux