Recently formatted partition not available for recording
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently formatted partition not available for recording
I removed all partition of an IDE HD mounted as slave in the disk controller and formatted it as extf3 in one single partition(I used Mandriva Control Center to do the operations)
Everything seems to be find, but my user can't write in the new created partition. It appears a directory "LOST+FOUND" and nothing more.
What can I do to turn the new partition available to write as non-superuser user? Must I create a swap partition? I can't understand why the new disk although mounted is not available for normal I/O operations.
Additional question: How can I set a name for my new partition? I've tried with partition magic under windows but it doesn't recognize the partition. If I try with Mandriva Control Center, it corrupts the /etc/fstab file. I think there is a bug in the Mandriva Control Center.
What is the output of
fdisk -l
==================================================
[root@localhost ricardo]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hda1 * 1 6119 49150836 7 HPFS ou NTFS
/dev/hda2 6120 6377 2072385 f W95 Ext'd (LBA)
/dev/hda3 6378 17851 92164905 83 Linux
/dev/hda4 17852 19457 12900195 c W95 FAT32 (LBA)
/dev/hda5 6120 6377 2072353+ 82 Linux swap / Solaris
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hdb1 * 1 4866 39082648+ 83 Linux
[root@localhost ricardo]#
===================================================
mount
===================================================
[root@localhost ricardo]# mount
/dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/hdb1 on /mnt/dsk40GB type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--)
/dev/hda1 on /mnt/win_c type ntfs (ro,umask=0,nls=utf8)
/dev/hda4 on /mnt/win_d type vfat (rw,umask=0,iocharset=utf8)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@localhost ricardo]#
===================================================
and an ls -l of the parent directory of the
mount-point of the new hdd.
===================================================
[root@localhost ricardo]# cd /mnt/dsk40GB
[root@localhost dsk40GB]# ls -l
total 16
drwx-w--w- 2 root root 16384 Fev 28 16:21 lost+found/
[root@localhost dsk40GB]#
===================================================
Well .. write access to the whole directory means that anyone could
delete stuff underneath it. Also anyone can read everything - if you
have documents or files stored there that you consider private the
pre-existing global read/execute permissions are too permissive, too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.