terminal codes for data partition


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers terminal codes for data partition
# 1  
Old 11-27-2009
terminal codes for data partition

Among other critical Linux challenges terminal code looms large.
Got this far and think I am right. See attachment and when I open I get
Error opening file '/home/allen/data1/ Permission denied

could someone give me the chown code or anything else I lack

Code:
allen@allen-laptop:~$ sudo mkdir ~allen/data1
[sudo] password for allen: 
allen@allen-laptop:~$ sudo mount -t ext3 /dev/sda4 ~allen/data1
allen@allen-laptop:~$ sudo mkdir /mnt/data1 
allen@allen-laptop:~$ sudo mount -t ext3 /dev/sda4 /mnt/data

Thanks for your attention and help
PS not sure if relevant but in label I removed media afterattachment and only ID is data1

Last edited by pludi; 11-27-2009 at 08:02 PM.. Reason: code tags, please...
# 2  
Old 11-27-2009
If my lack of caffeine doesn't misguide me:
Code:
sudo chown -R allen ~allen/data1

# 3  
Old 11-27-2009
Apology revist terminal code

I had no idea I was breaking so many rules and it was not intentional. As for the chown code you supplied which I entered and am still denied permission. Please review previous post with emphasis on underlined
could someone give me the chown code or anything else I lack

Thanks again
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fun with terminal plotting JSON data at the command line

One of the great thing about unix is the ability to pipe multiple programs together to manipulate data. Plain, unstructured text is the most common type of data that is passed between programs, but these days JSON is becoming more popular. I thought it would be fun to pipe together some command... (1 Reply)
Discussion started by: kbrazil
1 Replies

2. Shell Programming and Scripting

Filter Data based on codes

Hello, I have a question on how to filter the data on multiple columns. The problem is I have one table with 25 columns, 4500 rows. I need to filter out the data based on some codes like 'XXXX', I have 25 codes to check on that table. My requirement is that which ever row has this code I... (1 Reply)
Discussion started by: sandeep309
1 Replies

3. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

4. Red Hat

Can I change the partition type with fdisk without disrupting data?

Hello, I have been going through our environment and I see we have a few servers with LVM's setup and the file system type is still set to "83" within fdisk. If I change this to "8e", will it hurt the data or cause any loss? I need to know for sure before I make the change. (1 Reply)
Discussion started by: s ladd
1 Replies

5. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

6. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

7. BSD

clean data from partition

Anyone know of an automated utility that will fill a designated partition with random data then delete the data? We have several harddrives that need certain partitions cleaned of sensitive data before they are placed back in service. Thanks Thumper (1 Reply)
Discussion started by: thumper
1 Replies

8. Solaris

[help] create partition for /data

hi experts, i had installed and do mirroring with sun solaris 8 v890 sparc, i had forget to make a partition for directory /data, i have 6 hard drive with disk0 mirror disk1(for root,var,opt,etc) ,disk2 mirror disk3(for /data2) and disk4 mirror disk5(for /data3), how to make a new partition for... (2 Replies)
Discussion started by: bucci
2 Replies

9. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies
Login or Register to Ask a Question