LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2012, 04:15 PM   #1
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Rep: Reputation: Disabled
Access Denied - logical disk (PERC RAID)


Hi All,

Complete Newbie here, so please be gentle. I am forcing myself off all MS products and will accept as much support as anyone is willing to give me. It is all extremely appreciated.

I have a Dell PE2900 with a 6 disc PERC RAID5 array. Everything is fine, FC16, all logical discs mounted including the PERC RAID array which is showing as one logical volume. Using KDE.

The RAID array shows up in Dolphin with just the usual lost+found, but I cannot create any folders or move anything to it - the "Create New" is just greyed out. I am quite sure it is a permissions thing, but I need some guidance here to get this. I have been looking through the forums, however I believe this is a pretty simple problem so may not be answered by the experts. Can anybody assist here?

Much appreciated from a desperate to learn Newbie.
 
Old 04-04-2012, 04:23 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Could you post the output of
Code:
fdisk -l
as root?
 
1 members found this post helpful.
Old 04-04-2012, 04:53 PM   #3
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi - Here it is... Hey I appreciate your help! Many thanks!

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: 0x00090277

Device Boot Start End Blocks Id System
/dev/sda1 2048 163842047 81920000 83 Linux
/dev/sda2 163842048 180226047 8192000 82 Linux swap / Solaris
/dev/sda3 180226048 543223807 181498880 83 Linux
/dev/sda4 543223808 625142447 40959320 5 Extended
/dev/sda5 * 543225856 625141759 40957952 83 Linux

Disk /dev/sdb: 2497.8 GB, 2497791918080 bytes
255 heads, 63 sectors/track, 303672 cylinders, total 4878499840 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: 0x00012b25

Device Boot Start End Blocks Id System
/dev/sdb1 2048 4294967295 2147482624 83 Linux
 
Old 04-04-2012, 05:00 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
How about
Code:
df -hT
cat /etc/fstab
(use code tags)
 
1 members found this post helpful.
Old 04-04-2012, 05:03 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Who set up the filesystem on the RAID and how is it being mounted? It looks like it's an array of 6 500GB disks in RAID5, giving you an array size of 2.5TB. Is that right? I notice it's not using a GPT partition table, which means the partition is going to be limited to 2TB.

Posting the output of "df -h" should confirm this, assuming the RAID is currently mounted. Posting the output of "cat /etc/fstab" will show how it's being mounted.

Edit: beat to the punch

Last edited by suicidaleggroll; 04-04-2012 at 05:04 PM.
 
1 members found this post helpful.
Old 04-04-2012, 05:05 PM   #6
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi..

Code:
[root@FC16 Documents]# df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
rootfs         rootfs     39G  7.1G   30G  20% /
devtmpfs       devtmpfs  2.0G     0  2.0G   0% /dev
tmpfs          tmpfs     2.0G  276K  2.0G   1% /dev/shm
/dev/sda5      ext4       39G  7.1G   30G  20% /
tmpfs          tmpfs     2.0G   50M  1.9G   3% /run
tmpfs          tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs          tmpfs     2.0G     0  2.0G   0% /media
/dev/sda3      ext4      173G  2.7G  162G   2% /tmp
/dev/sda1      ext4       79G  1.4G   73G   2% /home
and

Code:
[root@FC16 Documents]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Apr  2 23:34:54 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=f15a96c8-098b-4c6d-9001-018b4d925f8f /                       ext4    defaults        1 1
UUID=f7246cb5-c908-48c3-bf80-077e1b1f3f8a /home                   ext4    defaults        1 2
UUID=5f422947-bf54-4448-ba23-d9c67f8c5a69 /tmp                    ext4    defaults        1 2
UUID=aefcd32b-7a2f-4564-9129-8b083df4024a swap                    swap    defaults        0 0
 
Old 04-04-2012, 05:07 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Your RAID is not currently mounted. Is this how the system looks when you launch Dolphin and see the Lost+Found? Where is this Lost+Found directory that you see?
 
1 members found this post helpful.
Old 04-04-2012, 05:09 PM   #8
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
suicidaleggroll - you are correct.. 6x500GB.

The Fedora16 installer and the partitioning tool was used to setup the install, although the RAID is hardware managed by the PERC.

I have posted the output.
 
Old 04-04-2012, 05:13 PM   #9
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
I am using Dolphin.

On the left pane I see 4 disks mounted...
39.1GB
2.0TB
78.1GB
173.1GB

When selecting the 2.0TB, the only thing in the right pane showing is the lost+found.
 
Old 04-04-2012, 05:16 PM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I believe the partitioning tool used in the Fedora installer is fdisk-based, which can't handle GPT so it can't do more than 2TB. The following will switch your RAID to a GPT partition table, make a single partition the full size, and create an ext4 filesystem on it. This operation WILL DESTROY ANYTHING ON THE ARRAY, so make sure there isn't anything you need on it, and make sure you use the correct device name (which, according to your fdisk output earlier, is /dev/sdb).

Code:
parted /dev/sdb
mklabel gpt
mkpart primary 1 -1
quit
mkfs.ext4 /dev/sdb1
You'll probably want to shrink the reserved sector, since it's unnaturally large
Code:
tune2fs -r 20000 /dev/sdb1
Finally, you can mount it somewhere
Code:
mkdir -p /mnt/perc_raid
mount /dev/sdb1 /mnt/perc_raid
At this point, you should be able to read/write to /mnt/perc_raid to test the array.

Last edited by suicidaleggroll; 04-04-2012 at 05:21 PM.
 
1 members found this post helpful.
Old 04-04-2012, 05:33 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Perhaps we should find out what the OP actually wants first before reconfiguring the disk. Simple enough to add another partition and add the pv to the vg.
What are you planning on using the array for - LVM particularly ?. Multiple filesystems ?. One large filesystem ?.
 
1 members found this post helpful.
Old 04-04-2012, 05:36 PM   #12
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
It will be set up as one large filesystem. The unit will be a file server for around 20 users on a LAN.
I am just running through the instructions below.. will post the outcome shortly...
 
Old 04-04-2012, 05:44 PM   #13
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by syg00 View Post
Perhaps we should find out what the OP actually wants first before reconfiguring the disk. Simple enough to add another partition and add the pv to the vg.
True. I've found that the Fedora installer falls on its face with any disks (or RAID arrays) >2TB though. Even if you only want a 2TB partition on it and don't want GPT, it still does some really weird stuff. Every time I set up a Fedora system with a >2TB disk, I always have to go back and re-partition it manually before the system will use it correctly. I figured I'd just skip all of the middle steps in trying to figure out how to use the disk as it stands and just post how to switch it over and repartition it from scratch, since that's most likely where the conversation would have ended up anyway. Especially since he had just created it and the array was blank, there's no need to worry about lost data.

Last edited by suicidaleggroll; 04-04-2012 at 05:46 PM.
 
Old 04-04-2012, 05:54 PM   #14
Gyrogypsy
LQ Newbie
 
Registered: Apr 2012
Location: Weybridge, Surrey
Distribution: Fedora 16
Posts: 13

Original Poster
Rep: Reputation: Disabled
Gentlemen (or Ladies of course). Your help was invaluable and now it is mounted and formatted correctly.

However - I can only write to it as root. How do I change permissions?
 
Old 04-04-2012, 05:58 PM   #15
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
That's probably because the mount location (/mnt/perc_raid in my example) was created as root. Chmod 777 /mnt/perc_raid should fix that.

Once you're satisfied with how it's working, you should decide on a permanent location for the array in your filesystem, and then add it to /etc/fstab to mount it automatically. You probably won't want 777 permissions permanently, instead you'll want to set the owner and group properly and switch it to maybe 755 or 775. It all depends on where you're going to put it and what you're going to do with it though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PERC 6/i RAID Integrated - MegaCli morphix Linux - Hardware 5 04-05-2018 02:37 AM
dd and a RAID 5 (perc controller) cygnus-x1 Linux - General 1 09-19-2006 04:32 PM
installing perc 5/e raid controller on fedora 4 jcai Linux - Hardware 0 06-14-2006 01:50 PM
support for PERC 4e/Si RAID controller nik600 Slackware 0 04-27-2006 05:20 PM
Access denied when saving rpms to disk newbiedrake Linux - Software 1 06-17-2004 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration