help with hard drive (im a super noob)
ok.
-in windows i could move all movie files from C; -> D; just cut and paste. how can i move my files from first hard drive to second hard drive in Fedora core 6? -do i need to mount 2nd hard disk? -how? plz give me friendly short and exact answers. thanks. i use 2x250 gb hard disks. ##I typed fdisk -l and I got this below## Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 30401 244091610 8e Linux LVM Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 30401 244196001 8e Linux LVM ----------------------------------------------------------------------------------------- |
Hi,
There is no short answer for a question as general as you've asked. In Linux the structure one moves files between is called a directory. When you installed fedora for instance, you were asked where to install the root directory. When you first logged in as a non-root user you were in the /home/<username> directory. If you have gnome or kde as your desktop gui I think you'll find drag and drop between open filemanager windows much the same as in windows. To use the command line the basic command is "mv" If you wished to move a file called "file" between a directory with its mount point /dir1 on hard disk "hda" to a directory /dir2 mounted on "hdb" The "hdx" names are not used. At the prompt one enters: #mv /dir1/file /dir2/ and to rename while moving #mv /dir1/file /dir2/newname Note that the where the directories themselves are mounted will determine if the file moves from one physical hard drive to another. You can view the mount points several ways..perhaps the easiest at a terminal is #cat /etc/fstab My fstab looks like this Code:
/dev/hda3 swap swap defaults 0 0 mount point. The directory /home is mounted on physical device hdb on partition 5 I.E., hdb5 Most distributions come with some basic docs, and if you google things like "linux commands" info is plentiful. I hope this helps --Lawrence |
aw u r really good.
ur simple explanations that i could understand.
actually u told me what i need. if i can know which directory is on which hard disk, i can move my big files to other hardisk. i typed to know what directories were installed on which hard disk. TYPED "cat /etc/fstab" and got. ------------------------------------------------------------------------------ /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 ------------------------------------------------------------------------------- because i installed with LVM my both hard disks are in group "/dev/VolGroup00/LogVol00 /" i want to know if there is anyway to seperate my 2 hard disks for the one group. cuz, i am worried about if i download huge file which is over 250gb, that would cause problems on one hard drive. or, if i download 250gb file, does linux sperate them 125gb each on each hard drives? when i bought 2 hard drives, i was planning one for system and another for my own stuff... T_T plz help. --------------------------------------------------------------------------------extra info---- typed "lvdisplay" and got ------------------------------------------------------------------------------------------ File descriptor 11 left open --- Logical volume --- LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID DnwMvJ-KKBQ-pRe9-atXH-iCil-Ky9h-rsIzI8 LV Write Access read/write LV Status available # open 1 LV Size 463.66 GB Current LE 14837 Segments 2 Allocation inherit Read ahead sectors 0 Block device 253:0 --- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID WdsodE-lVZT-k2MD-V17q-H5EM-8Saw-rHJrfc LV Write Access read/write LV Status available # open 1 LV Size 1.94 GB Current LE 62 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 ----------------------------------------------------------------------------------------- thanks for helping. |
This is less basic. I don't use raid logical volumes,
but I believe that logical volumes may be split over two or more physical devices. I may be mistaken, but I have the impression that one sets the map from volume to device before installation, then the raid hardware/software controls where files and their images are stored. Forcing a particular split to physical device sounds to me as though it defeats the purpose of a raid array. But I'm just guessing, I don't know how to do what you want to do. Perhaps someone else does. Sorry, --Lawrence |
With the particular LVM you have set up it appears you have a volume group with both of your hard drives in it, and thus the OS only sees one HDD. This makes it impossible to transfer files from one disc to another as you are using both as one.
Regards, Alunduil |
thanks for all helping.
actually i decided to stop worrying about it. cuz i was worrying about that system would freeze if the first drive(which has linux system in it) will be full. however, someone told me the hard drive wont freeze although first drive is full cuz they will use other drive. i got confused cuz i used windows too much....and it made me worry about having lack of space. oh well. this is great. linux rocks. however, what's gonna happen if i wanna take one hard drive out...will it effect my system? hehe thanks |
Since the OS is seeing only one disc and using LVM to do so, yes, your system would be unusable without both of your hard drives.
Regards, Alunduil |
All times are GMT -5. The time now is 11:37 PM. |