LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-13-2011, 12:41 AM   #16
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0

no I want used in solaris
but I can't understand , I use disk in xp or freebsd , no pb ;
 
Old 01-13-2011, 06:47 AM   #17
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Okay, so if there is data on that disk, save it first somewhere else.

You can then create a ZFS pool with this command on your disk (assuming it's c0t0d0, double check that) with this command, as root:

Code:
zpool create pool c10t0d0
and see what size is reported

Code:
zpool list
 
Old 01-15-2011, 07:07 AM   #18
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
yes I already use this but as pb
 
Old 01-16-2011, 03:48 AM   #19
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by wadi3 View Post
yes I already use this but as pb
?? Can you rephrase that ?
 
Old 01-17-2011, 06:22 AM   #20
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
ok
# zpool create pool c10t0d0s2
warning: device in use checking failed: No such device
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
pool 428G 83.5K 428G 0% ONLINE -
#
 
Old 01-17-2011, 08:21 AM   #21
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Please use the command I suggested, i.e. don't specify a slice (or partition) number.

Code:
zpool destroy pool
zpool create pool c10t0d0
 
Old 01-18-2011, 02:23 AM   #22
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
newfs ..../

Last edited by wadi3; 01-19-2011 at 09:22 AM.
 
Old 01-18-2011, 02:29 AM   #23
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
when I use
newfs /dev/rdsk/c4t0d0
newfs: file system size must be at last 6144 sectors

so , file system is unlimit when I tape
 
Old 01-18-2011, 11:07 AM   #24
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
newfs won't work with c4t0d0. UFS expects partitions (slice) but d0 is a full disk. Only ZFS can handle full unpartitioned disks.

I don't understand what you mean with you last (truncated?) sentence.
 
Old 01-19-2011, 12:55 AM   #25
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
how I CAN use ufs with disk 1T
I USE newfs -T, don't work
so I read about solaris10 , size of file (type ufs) is not limit

ulimit -a | grep file
file(blocks) unlimited
nofiles(descriptors) 65536
 
Old 01-19-2011, 01:21 AM   #26
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The ulimit output is unrelated to the maximum file system size. The disk size reported is 423 GB so there is no point trying to fit a 1 TB file system on it. Was the ZFS test I suggested successful ?
 
Old 01-19-2011, 05:57 AM   #27
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
ufs

Last edited by wadi3; 01-19-2011 at 09:23 AM.
 
Old 01-19-2011, 06:05 AM   #28
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
pb size

Last edited by wadi3; 01-19-2011 at 09:24 AM.
 
Old 01-19-2011, 08:30 AM   #29
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Please stop posting truncated sentences.

If you insist creating a 1 TB UFS, you can create a zvol in your pool and then layout a UFS filesystem inside it.

Code:
zfs create -V 1000g pool/onetb
newfs /dev/zvol/rdsk/pool/onetb
That wouldn't be optimal due to double caching but you'll have then the possibility to snapshot and clone your UFS file system.
 
Old 01-19-2011, 09:09 AM   #30
wadi3
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 0
I am sorry
again thank you
I want understand why I can't use ufs when size of dsik is big
I am only have this pb ? or
ufs didn't accept size very wide if yes why didn't notice this in documentations of solaris or sun
I am still looking about this but no answer you are only that help me
I have answer I will very happy
thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk mount!!!!! linux_sonic Slackware 4 11-12-2009 12:38 PM
Mount Disk Fruhbolk Linux - General 6 03-24-2008 03:33 PM
How to view/mount separate disk -- move /home to second disk Spearhead40 Ubuntu 12 11-03-2007 03:37 PM
How to mount a new disk VDC AIX 3 10-25-2004 12:26 PM
how do I mount a disk?? sgroy45 Linux - General 3 11-25-2002 05:11 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration