You are not logged in.

#1 2013-12-20 06:15:37

SyXbiT
Member
From: Seattle, WA
Registered: 2008-06-28
Posts: 177
Website

using an HD formatted on Arch not recognized by RHEL 6 ?

Is this normal? I have an up to date Arch Linux install, and using parted, formatted 4 HDs to put in my server (which run RHEL 6).
In the past, I've always formatted drives on my RHEL 6 servers, and they've worked fine. But this time. I ran the same exact commands on Arch, and they aren't recognized by RHEL 6.
Could this be because Arch is so much newer?
I ran the rolling commands:

sudo parted /dev/sdh
(parted) mklabel gpt
(parted) unit TB
(parted) mkpart primary 0 -0
(parted) quit

mkfs.ext4 /dev/sdh1
#mount
e2label /dev/sdh1 LABEL_NAME

On my server, I only see the /dev/sda, not the sda1 partition, and when inspecting with parted, I see "Error: /dev/sda: unrecognised disk label"

Any ideas?

Offline

#2 2013-12-20 11:46:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: using an HD formatted on Arch not recognized by RHEL 6 ?

No am not familiar with parted (gdisk guy), so I can't judge the accuracy of your formatting commands.  When you have all of the HDs in the RHEL6 box, what is output of `lsblk -f`?  Since you formatted the partition to ext4, you should see it appear.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2013-12-20 14:09:02

SyXbiT
Member
From: Seattle, WA
Registered: 2008-06-28
Posts: 177
Website

Re: using an HD formatted on Arch not recognized by RHEL 6 ?

Thanks for the reply.
Here is the output.

[root@server02 ~]# lsblk -f
NAMES   FSTYPE      LABEL UUID  MOUNTPOINT
sda
sdb
sdc
sdd
sde
├─sde1 ext4              cfpyh9ff-caea-4921-8d89-fe7blkh55c0a   /boot

Offline

#4 2013-12-20 14:20:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: using an HD formatted on Arch not recognized by RHEL 6 ?

Based on that output, you did not create a filesystem on the 4 disks.  If you then move one of them back to your Arch system or if you just boot the Arch Live CD on the RHEL6 box and repeat the `lsblk -f`?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2013-12-20 16:29:47

SyXbiT
Member
From: Seattle, WA
Registered: 2008-06-28
Posts: 177
Website

Re: using an HD formatted on Arch not recognized by RHEL 6 ?

It works on Arch.
I managed to fix this (and not lose my data), by running parted again. I ran all commands except mkfs.ext4, and I could mount it, and didn't lose my data.
Still, it's strange. It has to be because the version of parted on Arch is much newer.... Still, that stuff should be backwards compatible.....

Offline

Board footer

Powered by FluxBB