- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Software Raid issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 08:17 AM
тАО05-07-2003 08:17 AM
Software Raid issue
After deleting these files, I am now not able to add any data to the stripe. I get an error that the disk is full, even though it is only 6GB used out of 130GB. THis was verified with both du -sk, and df -k.
Since these were plain files (tar archives) I know that nothing would have had them open. Just to be sure, I rebooted the Linux server, and still can not create data in the stripe with the error "no space left on device"
[root@masterc 1b]# df -k .
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md1 143347736 5902848 130276160 5% /1b
[root@masterc 1b]# touch test
touch: creating `test': No space left on device
I have looked with lsof, and see no open files on the device.
Any ideas?
Thanks!
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 09:27 AM
тАО05-07-2003 09:27 AM
Re: Software Raid issue
Check for quota
#repquota
If you don't want it just turn it off
#quotaoff
how is your raid configuration look like
#lsraid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 10:52 AM
тАО05-07-2003 10:52 AM
Re: Software Raid issue
Here is my output on a working raid 1/0 system.
[root@jerusalem root]# lsraid -A -g -a /dev/md0
[dev 9, 0] /dev/md0 E21817F0.29578AF2.8ED33C38.7B44A0A9 online
[dev 3, 2] /dev/hda2 E21817F0.29578AF2.8ED33C38.7B44A0A9 good
[dev 3, 66] /dev/hdb2 E21817F0.29578AF2.8ED33C38.7B44A0A9 good
Actual use of the lsraid command.
In your context I'd change it to.
lsraid -A -g -a /dev/md1
Hope this helps.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 11:31 AM
тАО05-07-2003 11:31 AM
Re: Software Raid issue
Would you be so kind as to post your results from the command. Just curious as to what can cause your results.
Thanks.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 11:32 AM
тАО05-07-2003 11:32 AM
Re: Software Raid issue
There is no such tool as lsraid on Redhat 8, I'll have to check 9. But here is the contents of /etc/raidtab.
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sdc
raid-disk 0
device /dev/sdd
raid-disk 1
raiddev /dev/md1
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda
raid-disk 0
device /dev/sdb
raid-disk 1
There is no issue that I can see with the raid device, the drivers are loaded, it's on line.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 11:41 AM
тАО05-07-2003 11:41 AM
Re: Software Raid issue
[root@jerusalem root]# more /etc/raidtab
raiddev /dev/md7
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda5
raid-disk 0
device /dev/hdb5
raid-disk 1
raiddev /dev/md0
raid-level 1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda2
raid-disk 0
device /dev/hdb2
raid-disk 1
raiddev /dev/md4
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda7
raid-disk 0
device /dev/hdb7
raid-disk 1
raiddev /dev/md6
raid-level 1
nr-raid-disks 2
chunk-size 64k
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda8
raid-disk 0
device /dev/hdb8
raid-disk 1
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda3
raid-disk 0
device /dev/hdb3
raid-disk 1
raiddev /dev/md3
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
raid-disk 0
device /dev/hdb3
raid-disk 1
raiddev /dev/md3
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda6
raid-disk 0
device /dev/hdb6
raid-disk 1
raiddev /dev/md5
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda9
raid-disk 0
device /dev/hdb9
raid-disk 1
Are you sure about the lsraid command? I can find no desupport notice, though my resuls are admittedly off a red hat 7.3 server.
[root@jerusalem root]# find / -name lsraid
/sbin/lsraid
[root@jerusalem root]# ll /sbin/lsraid
-rwxr-xr-x 1 root root 67272 Apr 15 2002 /sbin/lsraid
Note that its not on the PATH of non-root users.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 11:45 AM
тАО05-07-2003 11:45 AM
Re: Software Raid issue
http://www.redhat.com/whitepapers/rhel/OracleonLinux.pdf
I'm not running oracle on this server, wonder where the darned thing came from.
Will do further research and try and find you an alternate command for checking raid status.
My guess is based on data, the response you posted and prior fun with Red Hat Raid is that there is a problem with raid.
Alternate solution: use fdisk, cfdisk or the gui graphical tool to blow away and re-create the filesystem, see what happens.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 12:38 PM
тАО05-07-2003 12:38 PM
Re: Software Raid issue
There is a command lsraid in 8.0.
Try raidstart. what is /proc/mdstat?
Is raidtool rpm install?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 05:47 PM
тАО05-07-2003 05:47 PM
Re: Software Raid issue
Here is where to get it.
http://rpmfind.net/linux/RPM/redhat/8.0/i386/raidtools-1.00.2-3.3.i386.html
Download it, install it, run the command and post the output, it should lead us to a cause.
A pleasure working with you. The answer would have been faster, but itrc was a dog today.
For you Shannon, I'd be happy to arrange a phone call to work this through(your dime)
stevenprotter@juf.org
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 05:49 PM
тАО05-07-2003 05:49 PM
Re: Software Raid issue
SEP
:-)
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 04:46 AM
тАО05-08-2003 04:46 AM
Re: Software Raid issue
I know there is no lsraid as I run slocate -u every day, and locate lsraid produced nadda ;)
Running raidstart is done at boot, note I have 2 separate Raid stripes, and both are mounted and working and active.
The active and working is verified by using "cat /proc/mdstat"
[root@masterc root]# cat /proc/mdstat
Personalities : [raid0]
read_ahead 1024 sectors
md1 : active raid0 sdb[1] sda[0]
143374592 blocks 64k chunks
md0 : active raid0 sdd[1] sdc[0]
71687168 blocks 64k chunks
unused devices:
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 05:12 AM
тАО05-08-2003 05:12 AM
Re: Software Raid issue
[root@masterc tmp]# lsraid -A -g -a /dev/md1
[dev 9, 1] /dev/md1 E475ADD5.0CB7B814.11161BB8.D84F5860 online
[dev 8, 0] /dev/sda E475ADD5.0CB7B814.11161BB8.D84F5860 good
[dev 8, 16] /dev/sdb E475ADD5.0CB7B814.11161BB8.D84F5860 good
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 05:40 AM
тАО05-08-2003 05:40 AM
Re: Software Raid issue
Perhaps remove and rebuild the filesystem, using the newly installed raid tools. If its empty, when its rebuilt, it should be fine.
I hate messing with Linux disk layout after its running, I'm an LVM man.
If I think of anything actually useful, I'll post.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 07:06 AM
тАО05-08-2003 07:06 AM
Re: Software Raid issue
fsck reveals no errors, so it's very strange.
I'll let you know if I resolve it ;/
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 07:50 AM
тАО05-08-2003 07:50 AM
Re: Software Raid issue
Thanks for the nfo, and at least I dont have to rebuild the fs ;)
Shannon