Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh <rajsourabh1@xxxxxxxxx>
- Date: Sat, 7 May 2011 00:52:54 +0400
Thats something important, when we deal with disks. the disk id's may change
even when you boot from the harddisk.
On Fri, May 6, 2011 at 11:54 PM, Doll, Margaret Ann <margaret_doll@xxxxxxxxx
wrote:
Formatting from a rescue disk does not work because the ids of the disks--
change.
On my system /dev/sda became /dev/sdi on the rescue disk. I wiped out the
system.
On Thu, May 5, 2011 at 5:25 PM, raj sourabh <rajsourabh1@xxxxxxxxx> wrote:
I dont see why it shouldn't work. Now one of the option could be boot thesde1,
system with rescue media and format the partition from there. That would
definatly work :)
Raj
On Fri, May 6, 2011 at 12:53 AM, Doll, Margaret Ann <
margaret_doll@xxxxxxxxx
wrote:
fuser -v /dev/sdi1
[root@m3science ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg1/lv1
VG Name vg1
LV UUID TzLAvI-cXKp-kevB-cIwi-d900-7ljt-KB89Tl
LV Write Access read/write
LV Status available
# open 1
LV Size 7.20 TB
Current LE 1887437
Segments 4
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
[root@m3science ~]# mdadm --stop /dev/sdi1
mdadm: /dev/sdi1 does not appear to be an md device
The lvdisplay shows the m3team3 logical volume which includes sdd1,
partsdf1 and sdg1wrote:
On Thu, May 5, 2011 at 4:43 PM, raj sourabh <rajsourabh1@xxxxxxxxx>
Hi,
The below output indicates;
Disk is in use by some process/software.. Please make sure this by
running:
#fuser -v /dev/sdi1
(This should not display anything if disk is not in use)
Disk could be part of RAID or volume group
Try this and check for device /dev/sdi1
# lvdisplay
and finally, The following should disply something if it was
ofsystem).
243201):any RAID
# mdadm --stop /dev/sdi1
Regards,
Raj
On Thu, May 5, 2011 at 10:53 PM, Doll, Margaret Ann <
margaret_doll@xxxxxxxxx
wrote:
fdisk /dev/sdi
The number of cylinders for this disk is set to 243201.
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)
Command (m for help): p
Disk /dev/sdi: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdi1 1 243201 1953512001 83 Linux
Command (m for help): d
Selected partition 1
Command (m for help): p
Disk /dev/sdi: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-243201, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-243201, default
Using default value 243201
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@m3science ~]# partprobe
Warning: Unable to open /dev/hda read-write (Read-only file
table,GPT/dev/hda has been opened read-only.
Warning: /dev/sdh contains GPT signatures, indicating that it has a
table. However, it does not have a valid fake msdos partition
rajsourabh1@xxxxxxxxx>asdoesn't
it
should. Perhaps it was corrupted -- possibly by a program that
table,understand GPT partition tables. Or perhaps you deleted the GPT
table?and
are now using an msdos partition table. Is this a GPT partition
filesystem[root@m3science ~]# mke2fs -j /dev/sdi1
mke2fs 1.39 (29-May-2006)
/dev/sdi1 is apparently in use by the system; will not make a
here!
On Thu, May 5, 2011 at 2:23 PM, raj sourabh <
partitionswrote:
Ok, so things look fine till here when you have created
thengettingsdh1,sdi1,sdj1,sdk1.. even after running partprobe if you are
theytherajsourabh1@xxxxxxxxx>
partitionssame here then try the follwing;
# delete one of the partition through fdisk eg.sdi1
# after deletion check eg. # fdisk /dev/sdi and then list the
(You should not see anything)
# Recreate the partition as primary
# Partprobe
# and then try mke2fs -j /dev/sdi1
Hope this should give some useful results.
Regards,
Raj
On Thu, May 5, 2011 at 8:05 PM, Doll, Margaret Ann
<margaret_doll@xxxxxxxxx>wrote:
On Thu, May 5, 2011 at 11:33 AM, raj sourabh <
utilwrote:
Hi,
Please provide the output of following:
#fdisk -l
for the four disks in question
WARNING: GPT (GUID Partition Table) detected on '/dev/sdh'! The
time.fdisk
doesn't support GPT. Use GNU Parted.
Disk /dev/sdh: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdh1 1 243201 1953512001 83 Linux
Disk /dev/sdi: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdi1 1 243201 1953512001 83 Linux
Disk /dev/sdj: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdj1 1 243201 1953512001 83 Linux
Disk /dev/sdk: 2000.3 GB, 2000398934016 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
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1.6G 982M 489M 67% /
tmpfs 1.8G 0 1.8G 0% /dev/shm
/dev/sda10 883G 449G 389G 54% /home
/dev/sdb1 4.1G 569M 3.4G 15% /var
/dev/sdb2 913G 245G 622G 29% /home2
/dev/sda9 730M 519M 173M 76% /oldvar
/dev/sda8 1.1G 34M 976M 4% /tmp
/dev/sda6 2.1G 72M 2.0G 4% /opt
/dev/sda2 8.1G 3.6G 4.2G 46% /usr
/dev/sda5 3.1G 2.3G 671M 78% /usr/local
/dev/sda1 1.1G 120M 889M 12% /boot
/dev/sdc 12T 12T 183G 99% /m3team
/dev/mapper/vg1-lv1 7.1T 1.6T 5.2T 24% /m3team3
quahog2:/LVM2/crism13
4.9T 191G 4.5T 5% /m3team2
porter2:/m3_usb1 1.8T 96K 1.7T 1% /m3_usb1
porter2:/m3_usb2 1.8T 274G 1.5T 16% /m3_usb2
none 1.8G 104K 1.8G 1% /var/lib/xenstored
eight disks were purchased and added to the system as the same
I
successfully created a log volume group out of the first four;
arefdisk
mounted on /m3team3.
I used parted to create a GPT label on the disks. Then I used
to
create one partition taking up all the space on the disk. I
aused
pvcreate,"mkfs
-t ext3 /dev/sdg1 (etc.) on all the partitions before I used
vgcreate and lgcreate.
The process worked on the first four disks.
Thanks for your help
Regards,
Raj
On Thu, May 5, 2011 at 5:00 PM, Doll, Margaret Ann
<margaret_doll@xxxxxxxxx>wrote:
I get the same error with mk2efs -j /dev/sdi1
mke2fs 1.39 (29-May-2006)
/dev/sdi1 is apparently in use by the system; will not make
manypartprobe.rajsourabh1@xxxxxxxxx>filesystem
here!
On Thu, May 5, 2011 at 8:50 AM, raj sourabh <
wrote:
Hi,
Did you try using fdisk for partition? and the use
eg. #fdisk /dev/sdi
# partprobe
#mke2fs -j /dev/sdiX
I hope this would help.
Regards,
Raj
On Thu, May 5, 2011 at 4:29 PM, Doll, Margaret Ann
<margaret_doll@xxxxxxxxx>wrote:
In this particular case, I have rebooted the system
ontimes
and
am
unable
to get mkfs to work. The disk partitions are also not
thethe
RJM002@xxxxxxxxsame
diskcorey.kovacs@xxxxxxxxx
as
/. How do I get the disk partitions to work with mkfs?
On Thu, May 5, 2011 at 8:25 AM, Corey Kovacs <
wrote:
Important to note
1. It's not often / is repartitioned.
2. This isn't a problem unique to RHEL.
C
Sent from my iPod
On May 5, 2011, at 8:14 AM, "Marti, Robert" <
wrote:
A reboot is required if you change partitions on
repartitioningsame(SD/DS)"
disk
that
houses /.
On May 5, 2011, at 6:41, "Stainforth, Matthew
<when
Matthew.Stainforth@xxxxxx> wrote:
the default behavior for RHEL6 but I am not sure
orRHEL6
IF
it
actually hit RHEL5. Sounds like it might have. In
a
reboot
is
simply a requirement, full stop.
In RHEL6 a reboot is required between
https://www.redhat.com/mailman/listinfo/redhat-listand
mkfs'ing?
What?subject=unsubscribe
a sad thing if true.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list?subject=unsubscribe
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe?subject=unsubscribe
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-list--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx
----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
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
- References:
- disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- RE: disk partitions on that aren't recognized by mkfs + parted
- From: Geofrey Rainey
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Corey Kovacs
- RE: disk partitions on that aren't recognized by mkfs + parted
- From: Stainforth, Matthew (SD/DS)
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Marti, Robert
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Corey Kovacs
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: raj sourabh
- Re: disk partitions on that aren't recognized by mkfs + parted
- From: Doll, Margaret Ann
- disk partitions on that aren't recognized by mkfs + parted
- Prev by Date: Re: disk partitions on that aren't recognized by mkfs + parted
- Next by Date: Help Needed: My RHEL5 box suddenly stopped accepting e-mails
- Previous by thread: Re: disk partitions on that aren't recognized by mkfs + parted
- Next by thread: RE: disk partitions on that aren't recognized by mkfs + parted
- Index(es):
Relevant Pages
|