Server :: Can't Run Script After Hard Disk Was Filled
Dec 13, 2010
I have a MythTV backend setup with videos also transcoded to a directory for streaming to my Roku frontend. A week ago, the backend had an issue that caused the hard disk to fill up, which borked a bunch of things up. I've since repaired the damage (and learned a lot about log size settings for logrotate.d). Anyway, my last problem is that a script I wrote to compare the files in the transcoded directory to the MythTV base directory and delete files no longer relevent doesn't work anymore. I get the following error when run by any user, including root:
Code:
bash: ./roku-autoexpire.sh: /bin/bash: bad interpreter: Permission denied
The script worked fine before the hard disk fill, but now I can't seem to get it to work. Both the original MythTV partition and the streaming partition are XFS. Here's the pertinent lines from fstab:
Code:
/dev/sdb1 /var/www/mythroku xfs defaults,auto,grpid,exec,user 0 0
/dev/sdc1 /mnt/mythtv xfs defaults,exec,user 0 0
Permissions for the directories are the following:
Code:
drwxrwxr-x 2 mythtv mythtv 16384 2010-12-13 19:21 /var/www/mythroku
drwxrwxr-x 2 mythtv mythtv 20K 2010-12-13 20:13 /mnt/mythtv
I tried fiddling with the mount options for the partition, but that didn't seem to solve the problem.
View 4 Replies
ADVERTISEMENT
Sep 1, 2009
Copy of IBM Server hard disk data to Another USB External Hard disk?
View 2 Replies
View Related
May 30, 2010
I have just recently installed Ubuntu 8.04 (i had 10.04, but the video drivers were not compatible). Here's my dilemna. I run the "df" command and notice that it appears as though the drive is 100% full with no space free. Is that correct? And where do I look for the offending file/directory?
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 304072908 304066468 0 100% /
varrun 1037700 108 1037592 1% /var/run
varlock 1037700 0 1037700 0% /var/lock
udev 1037700 68 1037632 1% /dev
[Code]...
View 2 Replies
View Related
Feb 28, 2010
A month or so ago, I built a new box. I installed a previously used 320gb hard drive and a newly bought 1TB hard drive.Before formatting anything, I copied all the contents from the 320gb hd to the 1tb hd using windows, since at that time for some reason I couldn't get Ubuntu to read the 1tb drive.At some point, I managed to format the 1tb drive as ext3 (don't know why I didn't have the ext4 option), and copied the files I wanted backed up from the 320gb to the 1tb drive.Once I did that, I prepared to delete the files from the 320gb drive. The thing is I can't find them anymore. I had made a /Storage directory, and now the 1tb is called like that too.The thing is, the 320gb drive is almost full, but it only has my Ubuntu installation. I keep my file in the 1tb drive, so the 320 should be fairly empty. How large can a Ubuntu installation get? 300+ GB???
Where should I look to see what I'm using the space with? I think (this was about two months ago) I created a directory Storagetempo or something like that. How would I look for it?I realize a solution could be just reinstalling Ubuntu on the 320gb drive, since I have all my other files on the 1tb, but that seems too "windowy" to me.
View 9 Replies
View Related
Apr 22, 2010
I have 0MB left on my Wubi disk. How do I enlarge the virtual partition for Wubi if I don't have enough space to install anything?
View 7 Replies
View Related
Apr 8, 2009
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
View 3 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
May 14, 2010
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
View 2 Replies
View Related
Jun 21, 2011
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:
[code]...
View 6 Replies
View Related
Jul 3, 2010
pls suggest me how to mirroring two hard disk drive in rhel9 server.i can do raid on those hard drive but user requer mirroring.so pls help how could i do this, mirror two hard drive.
View 2 Replies
View Related
Sep 1, 2010
I have decided to try to run a web server, with a view to possibly, eventually, hosting my own website.To test the water I downloaded ClearOS and SME Server with a view to installing on a spare partition and trying them out.But, both installers seem to require the whole HDD to install into. Both installers have a warning saying that all partitions and drives attached to the PC will be erased in order to 'initialise' the HDD.
I must've installed 100 linux distros and i've never seen this before, including CentOS 5.5, which ClearOS is based on.Why is this the case? Is there any way I can install alongside another linux installation?? I have tried vbox but it doesn't offer a proper sandbox really as there is only one NIC.
View 8 Replies
View Related
Apr 6, 2010
If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?
By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...
(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)
View 2 Replies
View Related
Jun 15, 2011
We are having sixty machine super micro X7DWT-INF all are working fine all machine having two 250 GB Hard disks in SATA 0 & 1 connector operating system is scientific linux 5.4 all machine are showing hard disks as a sda,sdb,sdc etc but in 1 machine SATA Hard disks are showing as hda,hdb,etc due to this machine speed is low as compared to other machine bios settings are same as other how to change hda to sda.
View 6 Replies
View Related
Nov 29, 2009
how can I check if disk devices are running at the proper speed (read/write access)?What are, for example, the correct values for ATA o SCSI device, if I test them with hdparm?
View 2 Replies
View Related
Jan 12, 2011
To use squid i want to install linux in my 200 GB hard disk. I need guidance regarding to installation phase.A server which will be dedicated for squid proxy what things should I keep while installing my red hat linux operating system.I mean the partition sizes for swap ,root ,boot and any partion for squid cache should I need during making partitions ?
View 2 Replies
View Related
Jun 2, 2010
I have Red Hat linux server with update 8. Explain me in detail how to connect external hard disk to linux server so that it will detect it. Also let me know how can i come to know whether the linux server has detected it. Also how to copy the linux server harddisk content/data to this USB External hard disk
View 8 Replies
View Related
Sep 23, 2009
When level 3, we can use only command. What can I do to check for Hard Disk usage such as used space, free space, total space.
View 4 Replies
View Related
Jan 24, 2011
I want to configure Name Server i.e., DNS to my red hat linux box in a production enviromnt.The ram is 2 GB and Hard Disk size is 200 GB. How much space should I give /var, /usr, /boot, /root and home partition. May be I am wrong in partition point of view while installing fresh red hat but to install for home purpose and server end is different. So kindly guide me the hard disk partition size to ready it for name server.
View 3 Replies
View Related
Nov 27, 2014
I have just install debian-7.7.0-i386 on my home pc. I want to configure samba 4 in my Debian box. How may I create Hard Disk partition of 500 GB for a samba server. The professional way i want.
View 3 Replies
View Related
Jul 20, 2011
I have an old unuseable computer at home that became useless after a hard disk failure. I don't want to spend money on buying a new PATA IDE HDD for it, so I was wondering if I can use a PXE boot server on my notebook (using a virtual machine with Linux) and boot a Linux on the old machine with PXE without using Hard Disk. It is possible? Do I will need to make some extra configuration or use some specific enviroment do do this?
View 1 Replies
View Related
Jan 8, 2010
i want to configure a cluster for combining CPU / RAM / Hard disk
View 3 Replies
View Related
Jun 30, 2010
mount from the old hdd to the new hdd i mean (Hard disk)
View 2 Replies
View Related
Jan 13, 2011
This is a good way to backup my current system:
How to backup your system to restore your server incase the hard disk is damaged.
View 6 Replies
View Related
Dec 6, 2010
As a thin clint mode is possible on ubuntu ? like windows clint system login on to the server without hard disk...
View 1 Replies
View Related
Feb 1, 2011
We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.
View 2 Replies
View Related
Jan 17, 2011
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
[code]...
View 7 Replies
View Related
Mar 9, 2011
I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?
View 7 Replies
View Related
May 22, 2011
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
View 2 Replies
View Related
Jun 2, 2010
I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.
I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]
Problem Description
Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause
The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).
Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.
The workaround listed is to:
set APM to 254
Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom
The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:
My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE
to set APM to 254:
Code:
View 3 Replies
View Related