General :: Check Some Folder On A Shared Disk - On Local Disk?
Sep 20, 2011How to check if some folder is on a shared disk or on a local disk?
View 1 RepliesHow to check if some folder is on a shared disk or on a local disk?
View 1 RepliesI need a folder on my network disk, which will be locked with password, and must be entered on all platforms from where the user come (Ubuntu, Win).
View 3 Replies View RelatedI'm very new to linux and running debian 4.0. On boot got an error:
I did a ghost image of drive before I do any more damage and when performing the ghost, ghost stated I need to run fsck. I created the image and noticed that a lot of folders were missing (bin, boot and others).
1. How do I run check disk from an boot disk?
2. Is there something else I should consider?
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]...
I am dual booting XP and ubuntu, and everytime i want to go to XP through GRUB, and every time a Windows Disk Check apears. How can i stop this? I've set my hard drive partions to 50/50 (20GB on each side)so could that be the problem?
View 1 Replies View RelatedI have doubts regarding storage:
How to configure the Events of Storage Processor?
What are performance issues will come daily in a critical production server?
What are first steps for disk performance Check?
What are first steps for Storage Processor performance Check?
What are first steps for MetaLUN performance Check?
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1
Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes
View 5 Replies View RelatedI don't know were this goes so I'm just gonna put it here
Basically earlier today i figured i wanted to try out backtrack 4 but I could only have a maximum of 4 partitions on an hd at a time.
So i deleted my partition that contained my arch home directory (didn't really have any data on it and i figured i could just make a new one later) to create an extended partition to put backtrack on. Well all went well except now when I select arch instead of backtrack i get a disk check error.
This is the first part of the error, I can't exactly copy and paste it as its on my laptop. code...
I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?
View 3 Replies View Relatedi want to write the script which check the disk space of linux server and send me the disk space details and mail me on my id.
View 2 Replies View RelatedI am using Ubuntu in a laptop. The C disk has 15GB, and Windows is installed in C disk. I installed Netbook Ubuntu in D disk which only has 10GB free space. Now I am trying to install some applications in ubuntu such as emacs. But the system says it only has about 450Mb disk space. So how could I get more space? Can I install the applications under some different path? without using apt-get?
View 3 Replies View RelatedI own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.
View 8 Replies View RelatedI have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?
Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.
OS: Debian unstable 32bit, kernel 2.6.32-2, grub 1.98 from late january 2010 (only have working net-access from work now, so I am grabbing information from memory). EXT3 and EXT4 support is compiled into the kernel along with chipset/scsi/sata support (not as modules), and I have tested to boot ext3 with it before proceeding. Prereq: my old disk started to have too much S.M.A.R.T errors, so I bought another one, put in a USB cabinet, added swap and ext4 partition/filesystem to it, and copied over all data from the old system to the new that was mounted at /dest using the command "find ./ -xdev -print0 | cpio -paV0 /dest". Swiched disks, so I now have the ext4 disk sitting at /dev/sda (partitions: sda1 => ext4, sda2 => swap), and booted into rescue-mode from cdrom, using /dev/sda1 as root with a shell on. After doing this, I performed the following commands:
mount --bind /dev /dest/dev
chroot /dest
modified the /etc/default/grub to instruct the kernel to boot using ext4, ran grub-install --recheck /dev/sda
ran update-grub to modify /boot/grub/grub.cfg (which looks as it should) After doing this, grub finds my partition and mounts it. It however stalls with the message: "warning: unable to open an initial console" and does nothing after this point. I have no ramdisk, but my old kernel booted fine from ext3 (and still does if I copy it to a ext3 partition), and since the ext4 support is compiled into the kernel - should I really need a ramdisk?
I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.
I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.
When I run df I get the following:
Question: Why is Disk Utility showing me something different than "df"?
I suspect one of my hard disks is faulty and I need to run a check on them. I have seen the documentation about 'e2fsck' but this states that this is unsafe if the filesystem is mounted. Unfortunately the device in question mounted on the root filesystem, so unmounting it is likely to create problems.
View 2 Replies View RelatedI have windows and linux distros on my /dev/sda. I tried to install fedora 13, but after reboot I cannot boot up to any of installed systems. I'm getting: Non-System disk or disk errorreplace and striky any key when readyWhen I use ubuntu 10, boot from first hard disk, I'm able to get GNU GRUB version 1.98...nd boot up to any system. but without ubuntu in a cd-rom I'm getting this error.I tried: grub-install /dev/sdX in one of my installed linux distros, but without any success.
View 1 Replies View Relatedsubject: LINUX - release.5.4- verify disk details from linux
with sfdisk -s I can see the disk capacity as the following:
sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks
but how to see also the disk details as disk manufacture ... etc.
hdparm -i /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
S.M.A.R.T.tells me my primary fedora drive has lots of bad blocks,so I ordered a used identical drive from ebay.I want to do the very basic process of making a full backup of my existing drive - so as to replace it with a more or less identical replacement. Logically identical - not necewsarily sector to sector identical.im not literate in unix and its children - and seem to find a plethora of descriptinos of how to do what I want to do. which is
1. format the drive - what you may call low level format - ie op sys independent.
2. create a partition system compatible with my existing disk.
3. copy everything from my existing disk to the new disk.
4. put existing disk on the shelf as a backup and start to use new disk.
It frozen up occasionally, when that happens, usually the harddisk light lights up continuously. So I suspect some process is writing to the disk, which prevent other process to go on. how do I find out who's using a lot of IO?
View 3 Replies View RelatedI search for a Gui program that running and check of the hard disk and monsters in graphical mode bad
sectors.
want to know enable 32-bit IO-support on my hard driveusing hdparm . But before I enable 32-bit support , I want to knowwhether my hard drive supports 32-bit IO or not. I tried the -I option with hdparm , but it is not telling clearlywhether it supports 32-bit or not. The following is the output from the hard drive of my system (hdparm -I ) .
=====
Commands/features:
Enabled Supported:
[code]...
Code:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 47G 602M 99% /
How to find why Avail space shows only 602M?
I installed a new disk and need to share it on NFS, but the share keep failing. I think the reason is the disk was not mounted when NFS started. How do I guarantee local disk mounted before NFS?
View 2 Replies View RelatedI have an external drive that I want to do backups to. Most times it goes great, other times the server gets real sloggy, and I do a 'df' and see I'm at 96% disk usage. What has occured is the disk failed to mount apparently, so the backup backs up to my local disk at /media/backups/
I have /media/backups in my /etc/fstab pointing to /dev/sdc1, but I think the external disk will sleep when not in use for long periods.
How do I make sure /media/backups is REALLY going to the external drive and not my local drive? Is there anyway to sort of test it BEFORE I write umpteen gigs to my local hard drive?
I have updated from Karmic to Lucid not long ago, and everything went smooth and my system is been working like a charm for about a month. And it still does, with the only issue being that every time I restart my system, one of my partitions is checked.
My disk is split into 4 partitions:
sda1, NTFS for windows
sda2, ext4 for "/"
sda3, ext2 for /home
sda4, swap
Now what seems to happen is that sda3 is being marked as "not clean" on every shutdown, which makes me assume that is not being umounted at all.
I've been reading logs, commenting network drives out on fstab.. nothing does the trick.
I've booted into single mode and run e2fsck (which doesn't find anything wrong, and marks the FS as "clean") and then rebooted. The result is: if the FS wasn't mounted when I restart, then I get a clean boot once, but it is checked on the following one; if it was mounted then it is again checked at start-up.
Again, all points to the problem being that the FS is not cleanly umounted on shut-down.
I could not find any log with info of the processes killed and FS umounted at shut-down, so if anybody knows where to look, it could be a good start.
Ubuntu has got this build-in check for errors which starts every 30 startups (if I remember well ) but my one gone missing... Strange. How can I turn it back on ?ound in the forum some information about Bonager, but is this original automatic disk check software shipped with Ubuntu or another piece of software ?
View 5 Replies View RelatedIs there any other way to check the overall size of the hard disk other than just fdisk -l? This is because the cloud server that my company has purchased is supposed to have 50GB of hard disk size,It shows that it has two SCSI drives, only both summing up to 50GBs. So what is the second SCSI drive, and why is it divided that way? dev/sda and dev/sdb???
View 1 Replies View Relatedhow 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